Skip to content

Commit

Permalink
Changes need to get ubuntu machine running on AWS mom-ocean#129
Browse files Browse the repository at this point in the history
  • Loading branch information
nichannah committed Oct 29, 2015
1 parent 87657a3 commit f58453f
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
@@ -0,0 +1 @@
setenv mpirunCommand "mpirun -np"
6 changes: 3 additions & 3 deletions exp/MOM_compile.csh
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
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 f58453f

Please sign in to comment.