Changeset 4508
- Timestamp:
- Apr 13, 2023, 7:07:46 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r4503 r4508 330 330 module load subversion/1.9.7 ; 331 331 module load cmake 332 332 export NETCDF_LIBDIR=./ 333 333 export NETCDFFORTRAN_INCDIR=./ 334 334 export NETCDFFORTRAN_LIBDIR=./ … … 744 744 sed -e s:/bin/ksh:/bin/bash:g Makefile.ksh > Makefile 745 745 fi 746 # if [ "$pclinux" = 1 ] ; then746 ### if [ "$pclinux" = 1 ] ; then 747 747 # Build IOIPSL modules and library 748 748 $make clean … … 753 753 fi 754 754 # Build IOIPSL tools (ie: "rebuild", if present) 755 if [ -f $MODEL/modipsl/modeles/IOIPSL/tools/rebuild ] ; then 755 if [ -f $MODEL/modipsl/modeles/IOIPSL/tools/rebuild ] ; then 756 756 cd $MODEL/modipsl/modeles/IOIPSL/tools 757 757 # adapt Makefile & rebuild script if in bash … … 767 767 $make > $ioipsllog 2>&1 768 768 fi 769 # fi # of if [ "$pclinux" = 1 ]770 771 else # of if [ "$pclinux"= 1 ]769 ### fi # of if [ "$pclinux" = 1 ] which is commented out 770 771 else # of if [ $ioipsl = 1 ] 772 772 if [ ${hostname:0:5} = jean- ] ; then 773 773 cd $MODEL/modipsl … … 782 782 cd $MODEL/modipsl/modeles/IOIPSL/src 783 783 gmake > ioipsl.log 784 if [ -f $MODEL/modipsl/modeles/IOIPSL/tools/rebuild ] ; then 784 # For IOIPSLv_2_2_2, "rebuild" files are in IOIPSL/tools, so "gmake" in IOIPSL/tools is enough 785 # For IOIPSLv_2_2_5, "rebuild" files are in a separate IOIPSL/rebuild folder , while "tools" only contains "FCM" 786 if [ -f $MODEL/modipsl/modeles/IOIPSL/tools/Makefile ] ; then 785 787 cd $MODEL/modipsl/modeles/IOIPSL/tools 786 788 gmake > ioipsl.log 787 789 fi 790 if [ -d $MODEL/modipsl/modeles/IOIPSL/rebuild ] ; then 791 cd $MODEL/modipsl/modeles/IOIPSL/rebuild 792 gmake > ioipsl.log 793 fi 794 788 795 fi 789 796 echo install_lmdz.sh ioipsl_OK `date` 790 797 fi # of if [ $ioipsl = 1 ] 791 fi 798 fi # of if [[ ! -f $MODEL/modipsl/lib/libioipsl.a ]] 792 799 793 800 #=========================================================================
Note: See TracChangeset
for help on using the changeset viewer.