Comments (10)
It is related to that. That was opened against aiida-sssp
which was the predecessor of aiida-pseudo
and is now deprecated. I will have to go back to aiida-pseudo
to see that it is still easy for other clients to easily use the code to install an SSSP family without having to go through our CLI interface. Will try to look at this soon
from aiidalab-docker-stack.
By the way, you might get some speedup already from upgrading to aiida 1.5 and benefitting from the improved import/migration code (you can easily test this locally)
from aiidalab-docker-stack.
I am going to take another approach here.
I work on adding to @sphuber's aiida-sssp package a selector widget with downloading capability: aiidateam/aiida-sssp#25
from aiidalab-docker-stack.
This way we do won't need to import pseudos at the image build/container start-up, but rather do it on-request base.
from aiidalab-docker-stack.
That is another possibility. Just keep in mind that this means every app using QE will need to set this up individually.
I'm not sure how aiida-sssp does things - we should just make sure that it isn't migrating either.
from aiidalab-docker-stack.
I'm not sure how aiida-sssp does things - we should just make sure that it isn't migrating either.
The aiida-sssp install
command will download the required data straight from the MC archive entry as the single source of truth. Note that I have been working on aiida-pseudo
to generalize the functionality, but this will include the same functionality for the SSSP. It is possible to create a family from a pseudo tarball on disk, but it will be a different group plugin, to differentiate it from those installed directly from the MC archive
from aiidalab-docker-stack.
Brief update on this issue: With #144 the SSSPs are no longer installed automatically and the QE app is now responsible for installing the SSSPs (aiidalab/aiidalab-qe#25), however like @ltalirz pointed out, since they are not migrated this takes a significant amount of time.
from aiidalab-docker-stack.
Are you sure that it is the migration that takes a lot of time and not just the downloading and importing? Anyway, just to point out that you seem to be downloading the .aiida
archives from the MC Archive entry. If you want to migrate these, you would have to migrate them all manually and then reupload them and create an entire new version of the MC Archive entry. Since aiida-pseudo
has been released and the SSSP install is working, it might be easier to use that package instead. It will download the tarballs instead of the archives and doesn't use the import but a custom mechanism which doesn't need to migrate everytime the archive version is upped in aiida-core
. Something to consider.
from aiidalab-docker-stack.
Are you sure that it is the migration that takes a lot of time and not just the downloading and importing?
I am not sure about what exactly takes up the time here, I just know it takes a couple of minutes for the whole process. Just a bit longer than what feels comfortable to me and if we could speed it up somehow, that would be ideal.
Anyway, just to point out that you seem to be downloading the
.aiida
archives from the MC Archive entry. If you want to migrate these, you would have to migrate them all manually and then reupload them and create an entire new version of the MC Archive entry. Sinceaiida-pseudo
has been released and the SSSP install is working, it might be easier to use that package instead. It will download the tarballs instead of the archives and doesn't use the import but a custom mechanism which doesn't need to migrate everytime the archive version is upped inaiida-core
. Something to consider.
Very happy to use utility provided by aiida-pseudo for the QE app instead, whatever works best. Is this related to aiidalab/aiidalab-qe#6 ?
from aiidalab-docker-stack.
The QE app is now capable of downloading the pseudos, so the issue seems to be resolved. I am going to close it. Feel free to reopen in case you disagree.
from aiidalab-docker-stack.
Related Issues (20)
- bashrc disappear in the k8s deployment HOT 5
- New conda environments are created in `/opt/conda` by default
- Pin PostgreSQL version HOT 4
- singlesshagent section in .bashrc is duplicated upon each container startup
- bash completion does not work for git, conda and other commands
- Add support to arm64 architecture with CI test HOT 1
- Publish new version of the old docker stack with updated aiidalab and aiidalab-home HOT 3
- docker container stuck at loading the start page HOT 1
- The demo images with QE installed HOT 1
- Configure Jupyter server to kill idle python kernels HOT 7
- Can not start the container if the aiida daemon is not properly stopped HOT 5
- Re-introduce openbabel back to docker stack? HOT 8
- Missing joblib dependency HOT 1
- Update traitlets for faster app loading
- QE image install and set aiida-pseudo in advance HOT 1
- Move QE container to aiidalab-qe repo? HOT 3
- Set caching as default for the profile config HOT 2
- Add `rsync` in to the image HOT 4
- Slow build test and push HOT 14
- The DB migration message is hidden from the user
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 aiidalab-docker-stack.