Changeset 142 for LMDZ.3.3/branches/rel-LF/create_make_gcm
- Timestamp:
- Oct 18, 2000, 4:11:56 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/create_make_gcm
r108 r142 10 10 CRAY=1 11 11 fi 12 XNEC=0 13 if [ "$machine" = "rhodes" ] ; then 14 XNEC=1 15 fi 12 16 # 13 17 echo "#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" … … 43 47 echo '# Les differentes librairies pour l"edition des liens:' 44 48 echo 45 echo 'dyn3d = $(LIBO)/libdyn3d.a $(LIBO)/lib$(FILTRE).a' 46 echo 'dyn2d = $(LIBO)/libdyn2d.a' 47 echo 'dyn1d = $(LIBO)/libdyn1d.a' 48 echo 'L_DYN = -ldyn$(DIM)d' 49 echo 'L_FILTRE = -l$(FILTRE)' 50 echo 'L_PHY = -lphy$(PHYS) ' 51 echo 'L_BIBIO = -lbibio' 52 echo 'L_ADJNT =' 49 if [ "$XNEC" = '1' ] ; then 50 echo 'dyn3d = $(LIBO)/libsxdyn3d.a $(LIBO)/libsx$(FILTRE).a' 51 echo 'dyn2d = $(LIBO)/libsxdyn2d.a' 52 echo 'dyn1d = $(LIBO)/libsxdyn1d.a' 53 echo 'L_DYN = -lsxdyn$(DIM)d' 54 echo 'L_FILTRE = -lsx$(FILTRE)' 55 echo 'L_PHY = -lsxphy$(PHYS) ' 56 echo 'L_BIBIO = -lsxbibio' 57 echo 'L_ADJNT =' 58 else 59 echo 'dyn3d = $(LIBO)/libdyn3d.a $(LIBO)/lib$(FILTRE).a' 60 echo 'dyn2d = $(LIBO)/libdyn2d.a' 61 echo 'dyn1d = $(LIBO)/libdyn1d.a' 62 echo 'L_DYN = -ldyn$(DIM)d' 63 echo 'L_FILTRE = -l$(FILTRE)' 64 echo 'L_PHY = -lphy$(PHYS) ' 65 echo 'L_BIBIO = -lbibio' 66 echo 'L_ADJNT =' 67 fi 53 68 echo 54 69 echo "#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" … … 180 195 echo $str1 181 196 if [ "$F90" -eq '0' ] ; then 182 echo ' cd $(LOCAL_DIR); \'183 197 echo ' cd $(LOCAL_DIR); \' 198 echo ' $(COMPILE) $(LIBF)/'$diri'/'$trufile' ; \' 184 199 else 185 echo ' cd $(LOCAL_DIR); \'186 if [ -f $fili.F90 ] ; then200 echo ' cd $(LOCAL_DIR); \' 201 if [ -f $fili.F90 ] ; then 187 202 echo ' $(COMPTRU90) $(LIBF)/'$diri'/'$trufile' ; \' 188 else203 else 189 204 echo ' $(COMPILE90) $(LIBF)/'$diri'/'$trufile' ; \' 190 fi191 205 fi 206 MODU=0; egrep -i ' *module ' $trufile> /dev/null 2>&1 && MODU=1 192 207 if [ "$MODU" -eq '1' -a "$CRAY" != '1' ] ; then 193 208 if [ "$os" = 'UNIX_System_V' ] ; then … … 198 213 fi 199 214 fi 215 if [ "$XNEC" -eq '1' ] ; then 216 echo ' sxar r $(LIBO)/libsx'$diri'.a '$fili'.o ; \' 217 fi 200 218 echo ' $(AR) r $(LIBO)/lib'$diri'.a '$fili'.o ; $(RM) '$fili'.o ; \' 201 219 echo ' cd $(GCM)'
Note: See TracChangeset
for help on using the changeset viewer.