Testing of v2.0.0a1 (archive migration) #5407
Replies: 6 comments 17 replies
-
Example:
Migration:
Archive statistics: metadata:
export_version: main_0001
aiida_version: 2.0.0a1
conversion_info:
- Converted from version 0.3 to 0.4 with AiiDA v1.4.1
- Converted from version 0.4 to 0.5 with AiiDA v1.4.1
- Converted from version 0.5 to 0.6 with AiiDA v1.4.1
- Converted from version 0.6 to 0.7 with AiiDA v1.4.1
- Converted from version 0.7 to 0.8 with AiiDA v1.4.1
- Converted from version 0.8 to 0.9 with AiiDA v1.4.1
- Converted from version 0.9 to 0.10 with AiiDA v2.0.0a1
- Converted from version 0.10 to 0.11 with AiiDA v2.0.0a1
- Converted from version 0.11 to 0.12 with AiiDA v2.0.0a1
- Converted from version 0.12 to main_0000 with AiiDA v2.0.0a1
- Converted from version main_0000 to main_0001 with AiiDA v2.0.0a1
mtime: '2022-03-04T20:24:51.899366'
compression: 6
creation_parameters: {}
key_format: sha256
entities:
Users:
count: 6
emails:
- aiida@theossrv2.epfl.ch
- aiida@theossrv5.epfl.ch
- davide.campi@epfl.ch
- giovanni.pizzi@epfl.ch
- ivano.castelli@epfl.ch
- nicolas.mounet@epfl.ch
Computers:
count: 14
labels:
- bellatrix
- brisi
- 'daint (Imported #1)'
- daint-gpu
- daint-mc
- daint_aprun
- daint_mc
- 'daint_mc (Imported #0)'
- daint_old
- dora
- dora_aprun
- localhost
- theospc14-direct_
- theospc27slurm
Nodes:
count: 113078
node_types:
- data.core.array.ArrayData.
- data.core.array.bands.BandsData.
- data.core.array.kpoints.KpointsData.
- data.core.array.trajectory.TrajectoryData.
- data.core.cif.CifData.
- data.core.code.Code.
- data.core.dict.Dict.
- data.core.folder.FolderData.
- data.core.remote.RemoteData.
- data.core.singlefile.SinglefileData.
- data.core.structure.StructureData.
- data.core.upf.UpfData.
- data.forceconstants.ForceconstantsData.
- process.calculation.calcfunction.CalcFunctionNode.
- process.calculation.calcjob.CalcJobNode.
process_types:
- aiida.calculations:codtools.ciffilter
- aiida.calculations:quantumespresso.matdyn
- aiida.calculations:quantumespresso.ph
- aiida.calculations:quantumespresso.pw
- aiida.calculations:quantumespresso.q2r
Groups:
count: 16
type_strings:
- core
Comments:
count: 0
Logs:
count: 0
Links:
count: 164968
repository:
objects:
count: 205805 Import:
Import statistics: entities:
Users:
count: 7
emails:
- a@b.com
- aiida@theossrv2.epfl.ch
- aiida@theossrv5.epfl.ch
- davide.campi@epfl.ch
- giovanni.pizzi@epfl.ch
- ivano.castelli@epfl.ch
- nicolas.mounet@epfl.ch
Computers:
count: 14
labels:
- bellatrix
- brisi
- 'daint (Imported #1)'
- daint-gpu
- daint-mc
- daint_aprun
- daint_mc
- 'daint_mc (Imported #0)'
- daint_old
- dora
- dora_aprun
- localhost
- theospc14-direct_
- theospc27slurm
Nodes:
count: 113078
node_types:
- data.core.array.ArrayData.
- data.core.array.bands.BandsData.
- data.core.array.kpoints.KpointsData.
- data.core.array.trajectory.TrajectoryData.
- data.core.cif.CifData.
- data.core.code.Code.
- data.core.dict.Dict.
- data.core.folder.FolderData.
- data.core.remote.RemoteData.
- data.core.singlefile.SinglefileData.
- data.core.structure.StructureData.
- data.core.upf.UpfData.
- data.forceconstants.ForceconstantsData.
- process.calculation.calcfunction.CalcFunctionNode.
- process.calculation.calcjob.CalcJobNode.
process_types:
- aiida.calculations:codtools.ciffilter
- aiida.calculations:quantumespresso.matdyn
- aiida.calculations:quantumespresso.ph
- aiida.calculations:quantumespresso.pw
- aiida.calculations:quantumespresso.q2r
Groups:
count: 17
type_strings:
- core
- core.import
Comments:
count: 0
Logs:
count: 0
Links:
count: 164968
repository:
SHA-hash algorithm: sha256
Compression algorithm: zlib+1
Packs: 0
Objects:
unpacked: 205805
packed: 0
Size (MB):
unpacked: 4002.8430767059326
packed: 0.0
other: 0.01171875 |
Beta Was this translation helpful? Give feedback.
-
Thanks to Valeria, here's a list of all .aiida files on the Materials Cloud Archive with links. |
Beta Was this translation helpful? Give feedback.
-
Found an issue while migrating: Output: Report: Legacy migrations required from zip format
Report: Extracting data.json ...
Report: Legacy migration pathway: 0.10 -> 0.11 -> 0.12
Report: legacy '0.12' -> 'main_0000' conversion required
Report: Initialising new archive...
Report: Unique repository files written: 263897
Report: Converting DB to SQLite
Report: Performing SQLite migrations:
Report: - main_0000 -> main_0000a
Report: - main_0000a -> main_0000b
Report: - main_0000b -> main_0001
Report: Finalising the migration ...
Critical: failed to migrate the archive file (use `--verbosity DEBUG` to see traceback): RuntimeError:File size unexpectedly exceeded ZIP64 limit |
Beta Was this translation helpful? Give feedback.
-
More trouble in paradise: https://archive.materialscloud.org/record/file?record_id=1120&filename=gamma_Fe.aiida Here is the output: Report: Legacy migrations required from zip format
Report: Extracting data.json ...
Report: Legacy migration pathway: 0.10 -> 0.11 -> 0.12
Report: legacy '0.12' -> 'main_0000' conversion required
Report: Initialising new archive...
Critical: failed to migrate the archive file (use `--verbosity DEBUG` to see traceback): error:Error -3 while decompressing data: invalid code lengths set |
Beta Was this translation helpful? Give feedback.
-
Seems the migration I mentioned above is really stuck... Here's the URL to the archive: https://archive.materialscloud.org/record/file?record_id=1005&filename=export_Nb_KKR-BdG.aiida I'll try to stop it and rerun with |
Beta Was this translation helpful? Give feedback.
-
Hi, for reference, I'm adding here a report of the SSSP archive import, which is a bit problematic. Archive size: 14 GB
PPLOT import stdout:
(Ignore the straight line, my computer was hibernated during that time.) The archive file is located on castor, in the container |
Beta Was this translation helpful? Give feedback.
-
Similar to #5379, this is intended for collecting reports on archive migrations.
Steps:
develop
into an virtual environmentpip install process-plot
(orpipx
)pplot exec -i 0.5 -c screen --title "Archive migrate" "/path/to/bin/python -m aiida archive migrate -f -v info /path/to/input.aiida test.aiida"
data.json
, into memory, but future migrations ondb.sqlite3
will not require this, so the memory profile will be a lot lower)verdi archive info --statistics test.aiida
verdi quicksetup --profile test_import
pplot exec -i 0.5 -c screen --title "Archive import" "/path/to/bin/python -m aiida -p test_import archive import -v info test.aiida"
verdi -p test_import storage info --statistics
Beta Was this translation helpful? Give feedback.
All reactions