Comments (4)
OK, now that the Julia 1.0 package is registered, you can install it directly. And once you do that, the tests run fine under @distributed on multiple cores.
I wish I understood more about how to set up development for the new package manager, but for users I think this should be fine.
[Tue02Oct-20:33]jarvist@Asriel:~/.julia/packages/Quante/test/
> julia-1.0.0 -p 2
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.0.0 (2018-08-08)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> include("runtests.jl")
[ Info: Precompiling Quante [62e6779b-560f-53ed-829f-06ad43eb5710]
...
Test Summary: | Pass Total
Quante.jl | 157 157
All tests passed! 8^)
julia>
From worker 3: .............
From worker 2: ...........
from quante.jl.
Figured out a workaround (or is it a fix, I don't know):
- In the
Quante.jl
root directory, open a julia prompt and hit]
to enter the package manager - type
add .
to install the curent package - now invoking
runtests.jl
with-p auto
should work!
from quante.jl.
There's probably a better workflow out there for development, currently reading through https://docs.julialang.org/en/v1/stdlib/Pkg/index.html for more info...
from quante.jl.
I tested this a little more, and it seems fine. The Julia 1.0 @distributed macro requires a correctly registered (at least locally) package, you can't just add ../src/
into the path etc.
from quante.jl.
Related Issues (9)
- port to julia 1.0? HOT 11
- CCSD via explicit for-loops HOT 1
- CCSD (+ others) via Tensor Contraction
- First steps towards adding full configuration interaction
- Hartree-Fock as function minimization HOT 2
- Travis CI HOT 2
- Add `Project.toml` and `Manifest.toml` HOT 1
- 'Warning: Package Quante does not have Test in its dependencies' when using with julia 1.6 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quante.jl.