Last change
on this file was
1677,
checked in by aclsce, 12 years ago
|
Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).
|
File size:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | #-------------------------------------------------------------------------------- |
---|
3 | # Save executable |
---|
4 | # |
---|
5 | |
---|
6 | if [ "$MAKETARGET" = "all" ]; then |
---|
7 | |
---|
8 | cd $bin |
---|
9 | |
---|
10 | if [ -f ${EXEC}.x ]; then |
---|
11 | execname=${EXEC}.x |
---|
12 | if [ ${MODEL_DIR} = "mpi-om" ]; then |
---|
13 | if [ $newstart = yes ]; then |
---|
14 | execname=${EXEC}_newstart.x |
---|
15 | mv ${EXEC}.x ${execname} |
---|
16 | echo '-------------------------------------------------------------' |
---|
17 | echo ' You created the executable to start from initial conditions.' |
---|
18 | echo ' To create the executable for the following runs ' |
---|
19 | echo ' edit the compile script COMP_'${MODEL_DIR}'.'${NODE}'' |
---|
20 | echo ' and set newstart=no (instead of newstart=yes)' |
---|
21 | echo ' then run it again.' |
---|
22 | echo '------------------------------------------------------------' |
---|
23 | fi |
---|
24 | fi |
---|
25 | echo ' ' |
---|
26 | echo 'Executable : '$bin/$execname |
---|
27 | if [ ${MODEL_DIR} = "lmdz" ]; then |
---|
28 | if [ -f ${EXEC}_newstart.x ]; then |
---|
29 | echo 'Second Executable : '$bin/${EXEC}_newstart.x |
---|
30 | else |
---|
31 | echo 'ERROR creating second executable used for newstart' |
---|
32 | fi |
---|
33 | fi |
---|
34 | if [ ${MODEL_DIR} = "oasis3" ]; then |
---|
35 | cp -p ${EXEC}.x ../../../bin/oasis |
---|
36 | fi |
---|
37 | else |
---|
38 | echo ' ' |
---|
39 | echo 'No executable created.' |
---|
40 | echo ' ' |
---|
41 | fi |
---|
42 | |
---|
43 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.