Changeset 722 for LMDZ4/branches/V3_test/create_make_gcm
- Timestamp:
- Oct 6, 2006, 12:46:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/V3_test/create_make_gcm
r704 r722 9 9 libf=$gcm/libf 10 10 libo=$gcm/libo 11 12 X6NEC=1 13 11 CRAY=0 12 if [ "$machine" = "atlas" -o "$machine" = "etoile" -o "$machine" = "axis" ] ; then 13 CRAY=1 14 fi 15 XNEC=0 16 if [ "$machine" = "rhodes" ] ; then 17 XNEC=1 18 fi 19 X6NEC=0 20 if [ "$machine" = "mercure" ] ; then 21 X6NEC=1 22 fi 23 X8BRODIE=0 24 if [ "$machine" = "brodie" ] ; then 25 X8BRODIE=1 26 fi 27 VPP=0 28 if [ "$machine" = "nymphea0" ] ; then 29 VPP=1 30 fi 31 # 14 32 echo "#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" 15 33 echo "# Definitions de Macros pour Make" … … 20 38 echo "GCM = "$gcm 21 39 echo 'LIBF = $(GCM)/libf' 22 echo 'LIBO = $(GCM)/libo' 40 if [ "$CRAY" = '0' ] ; then 41 # echo 'LIBO = $(GCM)/libo/$(MACHINE)' 42 echo 'LIBO = $(LIBOGCM)/$(MACHINE)' 43 else 44 echo 'LIBO = $(GCM)/libo' 45 fi 46 #echo 'LOCAL_DIR=$(GCM)' 47 #echo $localdir 23 48 echo "LOCAL_DIR=`echo $localdir`" 24 49 echo 'BIBIO = $(LIBF)/bibio' … … 34 59 echo '# Les differentes librairies pour l"edition des liens:' 35 60 echo 36 echo 'dyn3d = $(LIBO)/libdyn3d.a $(LIBO)/lib$(FILTRE).a' 37 echo 'dyn3d_par = $(LIBO)/libdyn3d_par.a $(LIBO)/lib$(FILTRE).a' 38 echo 'dyn2d = $(LIBO)/libdyn2d.a' 39 echo 'dyn1d = $(LIBO)/libdyn1d.a' 40 echo 'L_DYN = -ldyn$(DIM)d$(FLAG_PARA)' 41 echo 'L_FILTRE = -l$(FILTRE)' 42 echo 'L_PHY = -lphy$(PHYS) ' 43 echo 'L_BIBIO = -lbibio' 44 echo 'L_ADJNT =' 61 if ( [ "$XNEC" = '1' ] || [ "$X6NEC" = '1' ] || [ "$X8BRODIE" = '1' ] ) ; then 62 echo 'dyn3d = $(LIBO)/libsxdyn3d.a $(LIBO)/libsx$(FILTRE).a' 63 echo 'dyn3dpar = $(LIBO)/libsxdyn3dpar.a $(LIBO)/libsx$(FILTRE).a' 64 echo 'dyn2d = $(LIBO)/libsxdyn2d.a' 65 echo 'dyn1d = $(LIBO)/libsxdyn1d.a' 66 echo 'L_DYN = -lsxdyn$(DIM)d' 67 echo 'L_FILTRE = -lsx$(FILTRE)' 68 echo 'L_PHY = -lsxphy$(PHYS) ' 69 echo 'L_BIBIO = -lsxbibio' 70 echo 'L_ADJNT =' 71 else 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)' 77 echo 'L_FILTRE = -l$(FILTRE)' 78 echo 'L_PHY = -lphy$(PHYS) ' 79 echo 'L_BIBIO = -lbibio' 80 echo 'L_ADJNT =' 81 fi 45 82 46 83 echo … … 65 102 echo "PROG = code" 66 103 echo 67 echo 'main : chimie $(DYN) bibio phys $(OPTION_DEP) ' 104 #echo 'main : chimie $(DYN) bibio phys $(OPTION_DEP) ' 105 echo 'main : $(DYN) bibio phys $(OPTION_DEP) ' 68 106 echo ' cd $(LIBO) ; $(RANLIB) lib*.a ; cd $(GCM) ;\' 69 107 echo ' cd $(LOCAL_DIR); \' … … 75 113 echo 'phys : $(LIBPHY)' 76 114 echo 77 echo 'chimie : $(LIBO)/libchimie.a'115 #echo 'chimie : $(LIBO)/libchimie.a' 78 116 echo 79 117 echo 'bibio : $(LIBO)/libbibio.a' … … 187 225 fi 188 226 fi 227 if ( [ "$XNEC" -eq '1' ] || [ "$X6NEC" = '1' ] || [ "$X8BRODIE" = '1' ] ) ; then 228 echo ' sxar r $(LIBO)/libsx'$diri'.a '$fili'.o ; \' 229 fi 189 230 echo ' $(AR) r $(LIBO)/lib'$diri'.a '$fili'.o ; $(RM) '$fili'.o ; \' 190 231 echo ' cd $(GCM)'
Note: See TracChangeset
for help on using the changeset viewer.