source: trunk/LMDZ.GENERIC/deftank/def_generic_giants/randomRestart/compile

Last change on this file was 1284, checked in by milmd, 11 years ago

LMDZ.GENERIC. added a tool to create start.nc files with perturbated horizontal wind and temperature.

  • Property svn:executable set to *
File size: 517 bytes
Line 
1#!/bin/bash
2
3#netcdfPath=/d2/emlmd/netcdf64-4.0.1_gfortran
4netcdfPath=/san/home/indurain/PROG/netcdf/netcdf64-4.0.1_gfortran
5
6export FC=gfortran
7#export FFLAGS="-fdefault-real-8 -O0 -g -fbounds-check -Wall  -ffpe-trap=invalid,zero,overflow,underflow -ftrapv -fimplicit-none -fno-automatic"
8export FFLAGS=""
9
10command="${FC} -c $FFLAGS -I${netcdfPath}/include $1.f90"
11echo $command
12$command
13
14command="${FC} -o $1 $1.o -L${netcdfPath}/lib -lnetcdf"
15echo $command
16$command
17
18
19command="rm -f $1.o"
20echo $command
21$command
22
23
Note: See TracBrowser for help on using the repository browser.