Changeset 3356 for LMDZ6/branches/DYNAMICO-conv/makelmdz
- Timestamp:
- Jun 29, 2018, 12:31:11 PM (6 years ago)
- Location:
- LMDZ6/branches/DYNAMICO-conv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/DYNAMICO-conv
- Property svn:mergeinfo changed
-
LMDZ6/branches/DYNAMICO-conv/makelmdz
r2746 r3356 75 75 fi 76 76 fi 77 COSP_PATH=$LMDGCM/.void_dir77 #COSP_PATH=$LMDGCM/.void_dir 78 78 79 79 … … 311 311 312 312 # get ar command from arch.fcm file 313 archfileline=$( grep -i '^%AR ' arch.fcm )313 archfileline=$( grep -i '^%AR ' arch.fcm ) 314 314 arcommand=$( echo ${archfileline##%AR} ) 315 316 # get ar command options from arch.fcm file 317 archfileline=$( grep -i '^%ARFLAGS' arch.fcm ) 318 arflags=$( echo ${archfileline##%ARFLAGS} ) 315 319 316 320 # get make utility from arch.fcm file … … 460 464 CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS" 461 465 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}" 462 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios "466 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios -l${LIBPREFIX}stdc++" 463 467 elif [[ $io == xios ]] 464 468 then … … 466 470 CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS CPP_IOIPSL_NO_OUTPUT" 467 471 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}" 468 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios "472 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios -l${LIBPREFIX}stdc++" 469 473 fi 470 474 … … 472 476 then 473 477 CPP_KEY="$CPP_KEY CPP_COSP" 474 COSP_PATH="$LIBFGCM/phylmd/cosp"475 src_dirs="$src_dirs cosp"478 # COSP_PATH="$LIBFGCM/phylmd/cosp" 479 src_dirs="$src_dirs phy${physique}/cosp" 476 480 # LIB="${LIB} -l${LIBPREFIX}cosp" 477 478 479 INCLUDE="$INCLUDE"' -I$(LIBF)/ cosp'481 # opt_dep="$opt_dep cosp" 482 # lcosp="-l${LIBPREFIX}cosp" 483 INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cosp' 480 484 fi 481 485 … … 764 768 MOD_SUFFIX="mod" \ 765 769 AR=$arcommand \ 770 ARFLAGS="$arflags" \ 766 771 DIRMAIN=$dirmain \ 767 772 SOURCE=$source_code \ … … 796 801 MOD_SUFFIX="mod" \ 797 802 AR=$arcommand \ 803 ARFLAGS="$arflags" \ 798 804 DIRMAIN=$dirmain \ 799 805 SOURCE=$source_code \
Note: See TracChangeset
for help on using the changeset viewer.