Changeset 768 for LMDZ4/trunk/create_make_gcm
- Timestamp:
- Jun 4, 2007, 4:46:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/create_make_gcm
r672 r768 21 21 X6NEC=1 22 22 fi 23 X8BRODIE=0 24 if [ "$machine" = "brodie" ] ; then 25 X8BRODIE=1 26 fi 23 27 VPP=0 24 28 if [ "$machine" = "nymphea0" ] ; then … … 33 37 echo 34 38 echo "GCM = "$gcm 35 if [ "$CRAY" = '0' ] ; then36 echo "MACHINE = sun4"37 fi38 39 echo 'LIBF = $(GCM)/libf' 39 40 if [ "$CRAY" = '0' ] ; then … … 51 52 echo "DYN = dyn " 52 53 echo 'LIBPHY = $(LIBO)/libphy$(PHYS).a' 53 echo 'DIRMAIN=dyn$(DIM)d '54 echo 'DIRMAIN=dyn$(DIM)d$(FLAG_PARA)' 54 55 echo 'RM=rm' 55 56 echo … … 58 59 echo '# Les differentes librairies pour l"edition des liens:' 59 60 echo 60 if ( [ "$XNEC" = '1' ] || [ "$X6NEC" = '1' ] ) ; then61 if ( [ "$XNEC" = '1' ] || [ "$X6NEC" = '1' ] || [ "$X8BRODIE" = '1' ] ) ; then 61 62 echo 'dyn3d = $(LIBO)/libsxdyn3d.a $(LIBO)/libsx$(FILTRE).a' 63 echo 'dyn3dpar = $(LIBO)/libsxdyn3dpar.a $(LIBO)/libsx$(FILTRE).a' 62 64 echo 'dyn2d = $(LIBO)/libsxdyn2d.a' 63 65 echo 'dyn1d = $(LIBO)/libsxdyn1d.a' 64 echo 'L_DYN = -lsxdyn$(DIM)d '66 echo 'L_DYN = -lsxdyn$(DIM)d$(FLAG_PARA)' 65 67 echo 'L_FILTRE = -lsx$(FILTRE)' 66 68 echo 'L_PHY = -lsxphy$(PHYS) ' 67 69 echo 'L_BIBIO = -lsxbibio' 68 echo 'L_CHIMIE ='69 70 echo 'L_ADJNT =' 70 71 else 71 echo 'dyn3d = $(LIBO)/libdyn3d.a $(LIBO)/lib$(FILTRE).a' 72 echo 'dyn2d = $(LIBO)/libdyn2d.a' 73 echo 'dyn1d = $(LIBO)/libdyn1d.a' 74 echo 'L_DYN = -ldyn$(DIM)d' 72 echo 'dyn3d = $(LIBO)/libdyn3d.a $(LIBO)/lib$(FILTRE).a' 73 echo 'dyn3dpar = $(LIBO)/libdyn3dpar.a $(LIBO)/lib$(FILTRE).a' 74 echo 'dyn2d = $(LIBO)/libdyn2d.a' 75 echo 'dyn1d = $(LIBO)/libdyn1d.a' 76 echo 'L_DYN = -ldyn$(DIM)d$(FLAG_PARA)' 75 77 echo 'L_FILTRE = -l$(FILTRE)' 76 78 echo 'L_PHY = -lphy$(PHYS) ' 77 79 echo 'L_BIBIO = -lbibio' 78 echo 'L_CHIMIE ='79 80 echo 'L_ADJNT =' 80 81 fi 82 81 83 echo 82 84 echo "#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" … … 100 102 echo "PROG = code" 101 103 echo 102 echo 'main : $(OPTION_DEP) $(DYN) bibio phys ' 104 #echo 'main : chimie $(DYN) bibio phys $(OPTION_DEP) ' 105 echo 'main : $(DYN) bibio phys $(OPTION_DEP) ' 103 106 echo ' cd $(LIBO) ; $(RANLIB) lib*.a ; cd $(GCM) ;\' 104 107 echo ' cd $(LOCAL_DIR); \' 105 108 echo ' $(COMPILE90) $(LIBF)/$(DIRMAIN)/$(PROG).F -o $(PROG).o ; \' 106 if [ "$CRAY" = '0' ] ; then 107 echo ' $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_ADJNT) $(L_CHIMIE) $(L_FILTRE) $(L_PHY) $(L_BIBIO) $(L_DYN) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o ' 108 else 109 echo ' $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_ADJNT) $(L_CHIMIE) $(L_FILTRE) $(L_PHY) $(L_BIBIO) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o ' 110 fi 111 echo 112 echo 'dyn : $(LIBO)/libdyn$(DIM)d.a $(FILTRE)$(DIM)d' 109 echo ' $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_ADJNT) $(L_FILTRE) $(L_PHY) $(L_BIBIO) $(L_DYN) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o ' 110 echo 111 echo 'dyn : $(LIBO)/libdyn$(DIM)d$(FLAG_PARA).a $(FILTRE)$(DIM)d' 113 112 echo 114 113 echo 'phys : $(LIBPHY)' 115 114 echo 115 #echo 'chimie : $(LIBO)/libchimie.a' 116 echo 116 117 echo 'bibio : $(LIBO)/libbibio.a' 117 118 echo 118 119 echo 'adjnt : $(LIBO)/libadjnt.a' 119 echo120 echo 'chimie : $(LIBO)/libchimie.a'121 120 echo 122 121 echo '$(FILTRE)3d : $(LIBO)/lib$(FILTRE).a' … … 206 205 done 207 206 echo $str1 208 if [ "$F90" -eq '0' -a -f $fili.F] ; then207 if [ "$F90" -eq '0' ] ; then 209 208 echo ' cd $(LOCAL_DIR); \' 210 209 echo ' $(COMPILE) $(LIBF)/'$diri'/'$trufile' ; \' … … 221 220 echo ' cp $(MOD_LOC_DIR)/*.$(MOD_SUFFIX) $(LIBO)/ ; \' 222 221 else 223 echo ' mv $(MOD_LOC_DIR)/'$fili'.$(MOD_SUFFIX) $(LIBO)/'$fili'.$(MOD_SUFFIX) ; \' 222 # echo ' mv $(MOD_LOC_DIR)/'$fili'.$(MOD_SUFFIX) $(LIBO)/'$fili'.$(MOD_SUFFIX) ; \' 223 echo ' mv $(MOD_LOC_DIR)/'*'.$(MOD_SUFFIX) $(LIBO) ; \' 224 224 fi 225 225 fi 226 226 fi 227 if ( [ "$XNEC" -eq '1' ] || [ "$X6NEC" = '1' ] ) ; then227 if ( [ "$XNEC" -eq '1' ] || [ "$X6NEC" = '1' ] || [ "$X8BRODIE" = '1' ] ) ; then 228 228 echo ' sxar r $(LIBO)/libsx'$diri'.a '$fili'.o ; \' 229 229 fi
Note: See TracChangeset
for help on using the changeset viewer.