...
Code Block | ||
---|---|---|
| ||
$ imasdb imas-tutorial # Setting up working directory with databases $ echo $MDSPLUS_TREE_BASE_0/ # Variable containing the path to the database directory /afs/eufus.eu/user/g/g2dfigat/public/imasdb/imas-tutorial/3/0/ |
...
Sample codes of using sandbox
Prepare example:
Code Block |
---|
$ cd ./core_profiles_in__distribution_sources_out/fortran $ module load imasenv # load environment if not set $ tree . ├── core_profiles_2_distribution_sources_fc2k_slice.xml ├── core_profiles_2_distribution_sources_fc2k.xml ├── core_profiles_2_distribution_sourcesF.f90 ├── core_profiles_2_distribution_sources_workflow_slice.xml ├── core_profiles_2_distribution_sources_workflow.xml ├── database │ ├── ids_1110010000.characteristics │ ├── ids_1110010000.datafile │ └── ids_1110010000.tree ├── Makefile └── run_test.sh |
Run example:
Code Block |
---|
$ ./run_test.sh --force
Compilation - OK
Skipping log removal
FC2K build for core_profiles_2_distribution_sources_fc2k.xml - OK
Skipping log removal
FC2K build for core_profiles_2_distribution_sources_fc2k_slice.xml - OK
Skipping log removal
Workflow execution: core_profiles_2_distribution_sources_workflow.xml - OK
Skipping log removal
Checking output data inside DB: no-slices 111001/999 - OK
Skipping log removal
Workflow execution: core_profiles_2_distribution_sources_workflow_slice.xml - OK
Skipping log removal
Checking output data inside DB: slices 111001/999 - OK
Skipping log removal |
The same example in Kepler: