File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 33#
44machine =harmon
55machine =my_mac
6- # machine=yellowstone
6+ machine =yellowstone
77# FC = ifort
8- FC = gfortran
8+ # FC = gfortran
9+ FC =ifort
910# FC = nagfor
1011# FC = pgf95
1112DEBUG =FALSE
@@ -18,7 +19,7 @@ DEBUG=FALSE
1819#
1920model =fv
2021res =0.9x1.25
21- raw_data =gmted2010_modis
22+ raw_data =gtopo30
2223smoothing =cam_fv_smooth
2324ncube =3000
2425aniso =no_anisoSGH
@@ -108,7 +109,7 @@ cube_to_target: cube_to_target/output/$(model)_$(res)-$(raw_data)-$(smoothing)-i
108109cube_to_target/output/fv_$(res ) -$(raw_data ) -$(smoothing ) -intermediate_ncube$(ncube ) -$(aniso ) .nc : bin_to_cube/$(raw_data ) -ncube$(ncube ) .nc cam_fv_topo-smoothing/$(raw_data ) -$(model ) _$(res ) -$(smoothing ) .nc
109110 echo cube_to_target/$(model ) _$(res ) -$(raw_data ) -$(smoothing ) -intermediate_ncube$(ncube ) -$(aniso ) .nc
110111 echo ./run.sh $(model ) _$(res ) $(raw_data ) $(smoothing ) $(ncube ) $(aniso )
111- (cd cube_to_target; make; chmod +x run.sh; cube_to_target.nl; ./run.sh $( model) _$( res) $( raw_data) $( smoothing) $( ncube) $( aniso) )
112+ (cd cube_to_target; make; chmod +x run.sh; rm cube_to_target.nl; ./run.sh $( model) _$( res) $( raw_data) $( smoothing) $( ncube) $( aniso) )
112113
113114
114115cube_to_target/output/se_$(res ) -$(raw_data ) -$(smoothing ) -intermediate_ncube$(ncube ) -$(aniso ) .nc : bin_to_cube/$(raw_data ) -ncube$(ncube ) .nc
@@ -200,6 +201,17 @@ export FC
200201# LIB_NETCDF := /opt/local/lib
201202# INC_NETCDF := /opt/local/include
202203
204+ #
205+ # ------------------------------------------------------------------------
206+ # ifort
207+ # ------------------------------------------------------------------------
208+ #
209+ ifeq ($(FC ) ,ifort)
210+ FFLAGS = -c -g -r8 -O1 -I$(INC_NETCDF )
211+ LDFLAGS = -L$(LIB_NETCDF ) -lnetcdf
212+ endif
213+
214+
203215# ------------------------------------------------------------------------
204216# GFORTRAN
205217# ------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments