tMakefile - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
 (HTM) git clone git://src.adamsgaard.dk/pism
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
       tMakefile (787B)
       ---
            1 input=-i flood.nc -bootstrap -Mx 201 -My 101 -Mz 21 -Lz 1500
            2 ssa=-stress_balance ssa+sia -plastic_phi 15
            3 ocean=-sea_level constant,delta_sl -ocean_delta_sl_file flood.nc
            4 misc=-energy none
            5 extra=-extra_vars thk,mask,velbar_mag -extra_times 10
            6 
            7 options=${input} ${ssa} ${ocean} ${misc} ${extra}
            8 
            9 all: no_cfbc cfbc cfbc_kill_icebergs
           10 
           11 # this works for the wrong reason
           12 no_cfbc: flood.nc
           13         pismr ${options} -o $@.nc -extra_file ex_$@.nc
           14 
           15 # this fails (but should fail more gracefully)
           16 cfbc: flood.nc
           17         pismr ${options} -cfbc -o $@.nc -extra_file ex_$@.nc
           18 
           19 # this works the way it should
           20 cfbc_kill_icebergs: flood.nc
           21         mpiexec -n 4 pismr ${options} -cfbc -kill_icebergs -o $@.nc -extra_file ex_$@.nc
           22 
           23 flood.nc: generate_input.py
           24         python generate_input.py -M 1001 -o $@
           25 
           26 clean:
           27         rm -f *.nc *.nc~