Skip to content

Commit

Permalink
Merge pull request #130 from nicjhan/run-on-aws
Browse files Browse the repository at this point in the history
Changes need to get ubuntu machine running on AWS #129
  • Loading branch information
Nic Hannah committed Oct 29, 2015
2 parents 87657a3 + f58453f commit c3a5fef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions bin/environs.ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
setenv mpirunCommand "mpirun -np"
6 changes: 3 additions & 3 deletions exp/MOM_compile.csh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ source $root/bin/environs.$platform # environment variables and loadable module

#
# compile mppnccombine.c, needed only if $npes > 1
if ( ! -f $mppnccombine ) then
cc -O -o $mppnccombine -I/usr/local/include -L/usr/local/lib $code_dir/postprocessing/mppnccombine/mppnccombine.c -lnetcdf
endif
if ( ! -f $mppnccombine ) then
cc -O -o $mppnccombine -I/usr/local/include -L/usr/local/lib $code_dir/postprocessing/mppnccombine/mppnccombine.c -lm -lnetcdf
endif

set mkmf_lib = "$mkmf -f -m Makefile -a $code_dir -t $mkmfTemplate"
set lib_include_dirs = "$root/include $code_dir/shared/include $code_dir/shared/mpp/include"
Expand Down
2 changes: 1 addition & 1 deletion exp/MOM_run.csh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if( $download ) then
cd $root/data
./get_exp_data.py $name.input.tar.gz
mkdir -p $workdir
cp $name.input.tar.gz $workdir
cp archives/$name.input.tar.gz $workdir
cd $workdir
tar zxvf $name.input.tar.gz
endif
Expand Down

0 comments on commit c3a5fef

Please sign in to comment.