Commit c85911d4 authored by Romain Pennel's avatar Romain Pennel
Browse files

jean_zay : dynamico_emission compilation

parent 2d40592e
...@@ -7,6 +7,14 @@ camelot : XIOSFLAGS=-L ../XIOS/lib -licosa -lxios -lstdc++ ...@@ -7,6 +7,14 @@ camelot : XIOSFLAGS=-L ../XIOS/lib -licosa -lxios -lstdc++
camelot : LDFLAGS=$(ICOFLAGS) $(XIOSFLAGS) $(NCFLAGS) camelot : LDFLAGS=$(ICOFLAGS) $(XIOSFLAGS) $(NCFLAGS)
camelot : all camelot : all
jeanzay : F90=mpiifort
jeanzay : F90FLAGS=-I ../dynamico/inc -i4 -r8 -auto -align all -assume realloc_lhs -g -traceback -check bounds -fp-model strict
jeanzay : NCFLAGS=-lnetcdff -lnetcdf
jeanzay : ICOFLAGS=-L ../dynamico/lib -licosa -L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm
jeanzay : XIOSFLAGS=-L ../XIOS/lib -licosa -lxios -lstdc++
jeanzay : LDFLAGS=$(ICOFLAGS) $(XIOSFLAGS) $(NCFLAGS)
jeanzay : all
all : all :
. ../dynamico/arch.env && module list && F90="$(F90)" F90FLAGS="$(F90FLAGS)" LDFLAGS="$(LDFLAGS)" make a.out . ../dynamico/arch.env && module list && F90="$(F90)" F90FLAGS="$(F90FLAGS)" LDFLAGS="$(LDFLAGS)" make a.out
...@@ -28,6 +36,6 @@ obj/driver.o : obj/emission.o ...@@ -28,6 +36,6 @@ obj/driver.o : obj/emission.o
obj/%.o: src/%.F90 obj/%.o: src/%.F90
$(F90) -I include -fPIC $(F90FLAGS) -c $< $(F90) -I include -fPIC $(F90FLAGS) -c $<
mv $(SRC).o obj mv $(SRC).o obj/.
mv $(SRC).mod include || true mv $(SRC).mod include/. || true
...@@ -18,12 +18,14 @@ cmd_camelot() ...@@ -18,12 +18,14 @@ cmd_camelot()
cmd_jeanzay() cmd_jeanzay()
{ {
rm -f XIOS ECMWF201106.tar RUN/input/nudging_in.nc rm -f XIOS ECMWF201106.tar
ln -s /gpfswork/rech/ron/rron171/DYNAMICO/ECMWF201106.tar . ln -s /gpfswork/rech/ron/rron171/DYNAMICO/ECMWF201106.tar .
ln -s /gpfswork/rech/ron/rron171/DYNAMICO/XIOS_2169 XIOS ln -s /gpfswork/rech/ron/rron171/DYNAMICO/XIOS_2169 XIOS
ln -s /gpfswork/rech/ron/rron171/DYNAMICO/INPUTS/merged.nc RUN/input/nudging_in.nc
cd dynamico cd dynamico
./make_icosa -arch X64_JEANZAY -job 4 -parallel mpi -with_xios ./make_icosa -arch X64_JEANZAY -job 4 -parallel mpi -with_xios
cd ../DYNAMICO_emission
make clean
make jeanzay
} }
cmd_rebuild() cmd_rebuild()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment