a mirror of cgpop https://code.google.com/p/cgpop/
use wget to download other data file (too big to put into github):
wget https://github.com/wzzhang-HIT/cgpop/releases/download/v1.1/topography.0.1 -O data/topography.0.1 wget https://github.com/wzzhang-HIT/cgpop/releases/download/v1.1/cgpoptile_180x120.nc.tar.xz -O /tmp/180x120.tar.xz cd data tar xvf /tmp/180x120.tar.xz
download http://www.cs.colostate.edu/hpc/cgpop/cgpoptiles.tgz to extract to data dir, or you can use cginit to generate these files according to pdf file in doc
provide new deply.sh
to run cgpop. it would write pbs under run folder. you
must run at run
folder to run cgpop correctly
export NETCDF\_DIR=... ./build.linux
this use -insert-edge-profiling to make profiling out. you need install
llvm-prof first. makesure you add
correct pkgconfig dir to $PKG_CONFIG_PATH
export NETCDF\_DIR=... export DRAGONEGG=... ./build.llvm
modify build.* script change make
to make OPTIMIZE=no
if you want to do experiment, and only compile in one directory like mpi2s1D, there are some things you need know:
cd mpi2s1D
export ARCHDIR=llvm
make -f GNUMakefile
- notice link file source/domain_size.F90, it should link to a scale like domain_size.F90.180x120
- notice pop_in file, this content should match domain_size, or would crach while run.
- modify deply.pbs.template properly,
- modify ~/.bashrc properly,
- run
./deply.sh