Closed oksanaguba closed 6 years ago
This commit passed dev and unit tests and was also tested for desired functionality with script
#!/bin/tcsh -f
set wdir = `pwd` # run directory
set HOMME = ~/acmexx-branch/components/homme # HOMME svn checkout
echo $HOMME
set bld = $wdir/bldxx # cmake/build directory
set MACH = $HOMME/cmake/machineFiles/skybridge.cmake
set nlev=128
set qsize=10
mkdir -p $bld
cd $bld
set build = 1 # set to 1 to force build
set conf = 1
rm $bld/CMakeCache.txt # remove this file to force re-configure
if ( $conf ) then
rm -rf CMakeFiles CMakeCache.txt src
echo "running CMAKE to configure the model"
cmake -C $MACH -DQSIZE_D=$qsize -DPREQX_PLEV=$nlev -DPREQX_NP=4 \
-DPREQX_NC=4 \
-DPREQX_USE_PIO=FALSE \
-DBUILD_HOMME_SWEQX=FALSE \
-DUSE_TRILINOS=OFF \
-DKOKKOS_PATH=${HOME}/kokkos/build-omp-debug/ \
-DHOMMEXX_FPMODEL=strict \
-DPREQX_USE_ENERGY=FALSE $HOMME
make -j4 clean
make -j8 preqx
exit
endif
yes, my prev. version was not good. this one is from scratch.
Config preqx for custom # of levels and tracers, though target preqx is only for use_kokkos_kernels=true.