Sample codes of using switchLib
Prepare example:
Code Block |
---|
$ 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:
Code Block |
---|
|
$ ./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:
|
|
---|
Image Added
| Image Added
|
Comparison of actor configurations
standar version library | optional version of library |
---|
Image Added
| Image Added
|