Changeset 942
- Timestamp:
- 07/05/19 16:15:13 (5 years ago)
- Location:
- codes/icosagcm/devel/Python
- Files:
-
- 9 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/Python/test/python.sh
r825 r942 1 1 #!/bin/bash 2 # please do not move this script as relies on ../.. being DYNAMICO_ROOT3 2 # usage : ./python.sh mode [n] script script_args 4 3 # mode is 'serial' or mpi 5 4 # if mode is 'mpi' then argument [n] specifies the number of MPI processes 5 6 # This script relies on ../.. being DYNAMICO_ROOT 7 # If you move it, set DYNAMICO_ROOT accordingly in the script or before calling the script 6 8 7 9 function cmd_serial() … … 25 27 26 28 TEST=$PWD 27 DYNAMICO_ROOT=$(cd -P $(dirname $0)/../.. ; pwd) 29 DYNAMICO_ROOT=$(cd -P $(dirname $0)/../.. ; pwd) # change/remove this line if you move this script 28 30 29 31 cd $DYNAMICO_ROOT … … 34 36 . arch.env 35 37 . arch.path 36 cd $DYNAMICO_ROOT/Python/env37 . $CURRENT_ARCH.env38 cd arch 39 . arch-${CURRENT_ARCH}.dev 38 40 39 41 cd $TEST
Note: See TracChangeset
for help on using the changeset viewer.