- Timestamp:
- Apr 4, 2012, 1:07:02 PM (13 years ago)
- Location:
- BOL/script_install
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/LISMOI
r1589 r1621 17 17 18 18 Le script peut aussi etre recuperer avec wget : 19 > wget http://web.lmd.jussieu.fr/trac/browser/BOL/script_install/install.sh 20 19 > wget http://web.lmd.jussieu.fr/trac/browser/BOL/script_install/install.sh?format=txt -O install.sh 20 > chmod +x install.sh 21 > ./install.sh 21 22 22 23 Les versions disponibles : … … 231 232 20111007.trunk -> Revision SVN 1576 232 233 20111103.trunk -> Revision SVN 1578 first version including FCM 234 20111126.trunk -> Revision SVN 1592 235 20120203.trunk -> Revision SVN 1614 236 20120327.trunk -> Revision SVN 1619 first version including rebuild utility -
BOL/script_install/install.sh
r1590 r1621 288 288 sed -e "s:F_L = g95:F_L = $compilo:" -e "s:F_C = g95 -c:F_C = $compilo -c": \ 289 289 -e 's/g95.*.w_w.*.(F_D)/g95 w_w = '"$OPTIMGCM"'/' \ 290 -e 's:g95.*.NCDF_INC.*.$:g95 NCDF_INC= '"$ncdfdir"'/include:' \291 -e 's:g95.*.NCDF_LIB.*.$:g95 NCDF_LIB= '"$ncdfdir"'/lib:' \290 -e 's:g95.*.NCDF_INC.*.$:g95 NCDF_INC= '"$ncdfdir"'/include:' \ 291 -e 's:g95.*.NCDF_LIB.*.$:g95 NCDF_LIB= -L'"$ncdfdir"'/lib -lnetcdf:' \ 292 292 -e "s:-fmod=:-$fmod:" -e 's/-fno-second-underscore//' \ 293 293 -e 's:#-Q- g95 M_K = gmake:#-Q- g95 M_K = make:' \ … … 319 319 fi 320 320 if [ "$pclinux" = 1 ] ; then 321 # Build IOIPSL modules and library 321 322 make clean 322 323 make 323 324 if [ $compilo = gfortran ] ; then # copy module files to lib 324 325 cp -f *.mod ../../../lib 326 fi 327 # Build IOIPSL tools (ie: "rebuild", if present) 328 if [ -f $MODEL/modipsl/modeles/IOIPSL/tools/rebuild ] ; then 329 cd $MODEL/modipsl/modeles/IOIPSL/tools 330 # adapt Makefile & rebuild script if in bash 331 if [ "$use_shell" = "bash" ] ; then 332 cp Makefile Makefile.ksh 333 sed -e s:/bin/ksh:/bin/bash:g Makefile.ksh > Makefile 334 cp rebuild rebuild.ksh 335 sed -e 's:/bin/ksh:/bin/bash:g' \ 336 -e 's:print -u2:echo:g' \ 337 -e 's:print:echo:g' rebuild.ksh > rebuild 338 fi 339 make clean 340 make 325 341 fi 326 342 else
Note: See TracChangeset
for help on using the changeset viewer.