Changeset 3966 for dynamico_lmdz/aquaplanet/ICOSA_LMDZ/make_icosa_lmdz
- Timestamp:
- Nov 8, 2016, 4:36:05 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/ICOSA_LMDZ/make_icosa_lmdz
r3931 r3966 3 3 4 4 export ROOT=$PWD 5 5 set -x 6 6 echo $0 $* > rebuild_all 7 7 chmod a+x rebuild_all … … 16 16 arch_defined="FALSE" 17 17 parallel_defined="FALSE" 18 arch_path="arch" 18 arch_path="../ARCH" 19 arch_default_path="arch" 19 20 parallel="none" 20 21 physics="none" … … 84 85 rm -f arch.fcm 85 86 rm -f arch.env 86 ln -s $arch_path/arch-${arch}.path ./arch.path 87 ln -s $arch_path/arch-${arch}.fcm ./arch.fcm 87 88 if test -f $arch_path/arch-${arch}.path 89 then 90 ln -s $arch_path/arch-${arch}.path arch.path 91 elif test -f $arch_default_path/arch-${arch}.path 92 then 93 ln -s $arch_default_path/arch-${arch}.path arch.path 94 fi 95 96 if test -f $arch_path/arch-${arch}.fcm 97 then 98 ln -s $arch_path/arch-${arch}.fcm arch.fcm 99 elif test -f $arch_default_path/arch-${arch}.fcm 100 then 101 ln -s $arch_default_path/arch-${arch}.fcm arch.fcm 102 fi 103 88 104 if test -f $arch_path/arch-${arch}.env 89 then 90 ln -s $arch_path/arch-${arch}.env arch.env 91 else 92 ln -s .void_file arch.env 93 fi 105 then 106 ln -s $arch_path/arch-${arch}.env arch.env 107 elif test -f $arch_default_path/arch-${arch}.env 108 then 109 ln -s $arch_default_path/arch-${arch}.env arch.env 110 else 111 ln -s .void_file arch.env 112 fi 94 113 source arch.env 95 114 source arch.path 96 115 else 97 echo " Veuillez definir une architecture cible"116 echo "Please define a target architecture" 98 117 exit 1 99 118 fi … … 169 188 170 189 cd ../IOIPSL 171 ./makeioipsl_fcm -$compil_mode -parallel -arch $arch - j $job $full_flag || exit 1190 ./makeioipsl_fcm -$compil_mode -parallel -arch $arch -arch_path $arch_path -j $job $full_flag || exit 1 172 191 cd - 173 192 174 193 cd ../XIOS 175 ./make_xios --$compil_mode --arch $arch -- job $job $full_flag2 || exit 1194 ./make_xios --$compil_mode --arch $arch --arch_path $arch_path --job $job $full_flag2 || exit 1 176 195 cd - 177 196 … … 179 198 then 180 199 cd ../ORCHIDEE 181 ./makeorchidee_fcm -$compil_mode -parallel $parallel -xios2 -arch $arch - j $job $full_flag || exit 1200 ./makeorchidee_fcm -$compil_mode -parallel $parallel -xios2 -arch $arch -arch_path $arch_path -j $job $full_flag || exit 1 182 201 cd - 183 202 fi … … 189 208 lmdz_veget="orchidee2.0" 190 209 fi 191 ./makelmdz_fcm gcm -$compil_mode -mem -parallel $parallel -nodyn -io xios -v $lmdz_veget -arch $arch - j $job $full_flag || exit 1210 ./makelmdz_fcm gcm -$compil_mode -mem -parallel $parallel -nodyn -io xios -v $lmdz_veget -arch $arch -arch_path $arch_path -j $job $full_flag || exit 1 192 211 cd - 193 212 194 213 cd ../ICOSAGCM 195 ./make_icosa -$compil_mode -parallel $parallel -external_ioipsl -with_xios -arch $arch - job $job $full_flag || exit 1214 ./make_icosa -$compil_mode -parallel $parallel -external_ioipsl -with_xios -arch $arch -arch_path $arch_path -job $job $full_flag || exit 1 196 215 cd - 197 216 fi
Note: See TracChangeset
for help on using the changeset viewer.