1.1. Prepare your environment
$ module load imasenv/3.24.0/rc # if not set
Before proceeding any further, make sure you have configured your Kepler environment. Take a look here 00. Initial setup or here 05.3. IMAS - basic topics - environment set-up(POZ'19Oct)
1.2. Sample codes of using switchLib
Prepare example:
$ cd switchLib/fortran $ module load imasenv # load environment if not set $ tree . ├── expected_output_alt.txt ├── expected_output_def.txt ├── main.f90 ├── Makefile ├── run_test.sh ├── switch_lib_alt.f90 ├── switch_lib_def.f90 ├── switch_lib_fc2k.xml ├── switch_lib_workflow_alt.xml └── switch_lib_workflow_def.xml
Run example:
$ ./run_test.sh building actor - switch_lib_fc2k.xml - OK Skipping log removal switch_lib_workflow_def workflow execution - OK Skipping log removal switch_lib_workflow_alt workflow execution - OK Skipping log removal switch_lib_workflow_def diff - OK Skipping log removal switch_lib_workflow_alt diff - OK Skipping log removal
The same example in Kepler:
standar version library | optional version of library |
---|---|
1.3. Comparison of actor configurations
standar version library | optional version of library |
---|---|