HNQLJR6ZWME6VBJ2Y7PSENLJPXC7INSS7NC2CKIWQAC776CQ74TQC # Component list for the Einstein Toolkit <http://einsteintoolkit.org/># $Revision$# $Date$# $HeadURL$!CRL_VERSION = 1.0!DEFINE ROOT = Cactus!DEFINE ARR = $ROOT/arrangements!DEFINE COMPONENTLIST_TARGET = $ROOT/thornlists# To download these thorns via GetComponents, use then the following# command (on the same system where you originally used# GetComponents):# cd Cactus (or whatever your source tree is called)# bin/GetComponents --update --root=. manifest/einsteintoolkit.th# This thorn list!TARGET = $ROOT!TYPE = git!URL = https://bitbucket.org/einsteintoolkit/manifest.git!REPO_PATH= $1!NAME = manifest!CHECKOUT = ./manifest# Cactus Flesh!TARGET = $ROOT!TYPE = git!URL = https://bitbucket.org/cactuscode/cactus.git!NAME = flesh!CHECKOUT = .clang-format CONTRIBUTORS COPYRIGHT doc lib Makefile src# Simulation Factory!TARGET = $ROOT!TYPE = git!URL = https://bitbucket.org/simfactory/simfactory2.git!REPO_PATH=$1!NAME = simfactory2!CHECKOUT = ./simfactory# Example parameter files!TARGET = $ROOT!TYPE = git!URL = https://bitbucket.org/einsteintoolkit/einsteinexamples.git!CHECKOUT = par# Various Cactus utilities!TARGET = $ROOT!TYPE = git!URL = https://bitbucket.org/cactuscode/utilities.git!REPO_PATH= $1!NAME = utils!CHECKOUT = ./utils# The GetComponents script!TARGET = $ROOT/bin!TYPE = git!URL = https://github.com/gridaphobe/CRL.git!CHECKOUT = GetComponents# CactusBase thorns!TARGET = $ARR!TYPE = git!URL = https://bitbucket.org/cactuscode/cactusbase.git!REPO_PATH= $2!CHECKOUT =CactusBase/Boundary# CactusBase/CartGrid3DCactusBase/CoordBaseCactusBase/FortranCactusBase/InitBase# CactusBase/IOASCIICactusBase/IOBasicCactusBase/IOUtilCactusBase/SymBaseCactusBase/Time# Additional Cactus thorns!TARGET = $ARR!TYPE = svn!URL = https://svn.cactuscode.org/projects/$1/$2/trunk!CHECKOUT =ExternalLibraries/MPI# AMReX thornsAMReX/AMReX# AMReX/AMReXTestAMReX/WaveToyAMReX
- script: |wget https://raw.githubusercontent.com/gridaphobe/CRL/ET_2019_03/GetComponentschmod a+x GetComponents./GetComponents --parallel $HOME/cactusamrex/amrex.thcd Cactusecho 'ubuntu >$HOME/.hostnamecp cactusamrex/defs.local.ini simfactory/etc/defs.local.inicp cactusamrex/ubuntu.ini simfactory/mdb/machines/ubuntu.inicp cactusamrex/ubuntu.cfg simfactory/mdb/optionlists/ubuntu.cfgcp cactusamrex/ubuntu.sub simfactory/mdb/submitscripts/ubuntu.subcp cactusamrex/ubuntu.run simfactory/mdb/runscripts/ubuntu.run./simfactory/bin/sim build -j2 --thornlist=$HOME/cactusamrex/amrex.thdisplayName: Build Cactus
# -*-conf-*-# Defaults for all machines[default]user = cactusemail = cactus@localhostthornlist = manifest/einsteintoolkit.th[ubuntu]user = cactus
# Configuration for an Ubuntu installation, assuming the following# list of packages is installed:## build-essential perl python gfortran g++ libmpich-dev## In addition, installing the following list of packaed will prevent# Cactus from compiling its own versions of these libraries:## libfftw3-dev libgsl-dev libatlas-base-dev libjpeg-dev libssl-dev# libhdf5-dev hdf5-tools libnuma-dev libltdl-dev libhwloc-dev zlib1g-dev## Tools like GetComponents and Simfactory like to have the following list# installed too## python subversion git# Whenever this version string changes, the application is configured# and rebuilt from scratchVERSION = ubuntu-2019-06-07CPP = cppFPP = cppCC = gccCXX = g++F77 = gfortranF90 = gfortranCPPFLAGS = -DMPICH_IGNORE_CXX_SEEKFPPFLAGS = -traditionalCFLAGS = -pipe -g3 -march=ARCH -std=gnu11CXXFLAGS = -pipe -g3 -march=ARCH -std=gnu++14F77FLAGS = -pipe -g3 -march=ARCH -fcray-pointer -ffixed-line-length-none -fno-range-checkF90FLAGS = -pipe -g3 -march=ARCH -fcray-pointer -ffixed-line-length-none -fno-range-checkLDFLAGS = -rdynamicLIBDIRS =C_LINE_DIRECTIVES = yesF_LINE_DIRECTIVES = yesDEBUG = noCPP_DEBUG_FLAGS = -DCARPET_DEBUGFPP_DEBUG_FLAGS = -DCARPET_DEBUGC_DEBUG_FLAGS = -O0CXX_DEBUG_FLAGS = -O0F77_DEBUG_FLAGS = -O0F90_DEBUG_FLAGS = -O0OPTIMISE = yesCPP_OPTIMISE_FLAGS = -DKRANC_VECTORS # -DCARPET_OPTIMISE -DNDEBUGFPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE -DNDEBUGC_OPTIMISE_FLAGS = -O2 -ffast-math -fno-finite-math-onlyCXX_OPTIMISE_FLAGS = -O2 -ffast-math -fno-finite-math-onlyF77_OPTIMISE_FLAGS = -O2 -ffast-math -fno-finite-math-onlyF90_OPTIMISE_FLAGS = -O2 -ffast-math -fno-finite-math-onlyPROFILE = noCPP_PROFILE_FLAGS =FPP_PROFILE_FLAGS =C_PROFILE_FLAGS = -pgCXX_PROFILE_FLAGS = -pgF77_PROFILE_FLAGS = -pgF90_PROFILE_FLAGS = -pgOPENMP = yesCPP_OPENMP_FLAGS = -fopenmpFPP_OPENMP_FLAGS = -fopenmpC_OPENMP_FLAGS = -fopenmpCXX_OPENMP_FLAGS = -fopenmpF77_OPENMP_FLAGS = -fopenmpF90_OPENMP_FLAGS = -fopenmpWARN = yesCPP_WARN_FLAGS = -WallFPP_WARN_FLAGS = -WallC_WARN_FLAGS = -WallCXX_WARN_FLAGS = -WallF77_WARN_FLAGS = -WallF90_WARN_FLAGS = -Wall# Ubuntu's libhwloc-dev is broken; see# <https://trac.einsteintoolkit.org/ticket/1717>.# You need to add the libnuma-dev libltdl-dev packages to use the# system hwloc package and prevent this bug.# On the other hand you must NOT install libnuma-dev unless you also# install libhwloc-dev and libtldl-dev.BLAS_DIR = /usrLAPACK_DIR = /usrMPI_DIR = /usrOPENBLAS_DIR = /usrPTHREADS_DIR = NO_BUILD
[docker]# last-tested-on: 2019-06-06# last-tested-by: Erik Schnetter <schnetter@gmail.com># NOTE: presubmission is not supported# Machine descriptionnickname = dockername = Dockerlocation = anywheredescription = Running in a Docker containerstatus = personal# Access to this machinehostname = dockeraliaspattern = ^docker$# Source tree managementsourcebasedir = /cactusdisabled-thorns = <<EOTExternalLibraries/BLASExternalLibraries/LAPACKEOTenabled-thorns = <<EOTCactusTest/TestAllTypes#TODO Carpet/CarpetSimulationIOExternalLibraries/OpenBLAS#TODO ExternalLibraries/SimulationIO#TODO McLachlan/ML_BSSN_ND#TODO McLachlan/ML_BSSN_ND_Helper#TODO McLachlan_dgtile/ML_BSSN_FH_SD4EOToptionlist = ubuntu.cfgsubmitscript = docker.subrunscript = docker.runmake = make -j @MAKEJOBS@makejobs = 2# Simulation managementbasedir = /simulationscpu = Intel Core i7cpufreq = 2.6 # unknownflop/cycle = 16 # unknownhyperthreads = 2 # unknownppn = 6 # unknownspn = 1 # unknownmpn = 1 # unknownmax-num-threads = 12 # unknownnum-threads = 6 # unknownmemory = 32768 # unknownnodes = 1 # unknownmin-ppn = 1 # don't want this entryqueue = NOQUEUE # don't want this entrymaxwalltime = 8640:00:00 # don't want this entry# submit = exec @SCRIPTFILE@ </dev/null >/dev/null 2>/dev/null & echo $!submit = @SCRIPTFILE@ </dev/null >/dev/null 2>/dev/null; true & echo $!getstatus = ps @JOB_ID@stop = kill @JOB_ID@submitpattern = (.*)statuspattern = "^ *@JOB_ID@ "queuedpattern = $^runningpattern = ^holdingpattern = $^exechost = echo localhostexechostpattern = (.*)stdout = cat @SIMULATION_NAME@.outstderr = cat @SIMULATION_NAME@.errstdout-follow = tail -n 100 -f @SIMULATION_NAME@.out @SIMULATION_NAME@.err
#! /bin/bashecho "Preparing:"set -x # Output commandsset -e # Abort on errorscd @RUNDIR@-activeecho "Checking:"pwdhostnamedateecho "Environment:"export 'SIMULATION_ID=@SIMULATION_ID@'export CACTUS_NUM_PROCS=@NUM_PROCS@export CACTUS_NUM_THREADS=@NUM_THREADS@export CACTUS_SET_THREAD_BINDINGS=0export CXX_MAX_TASKS=1000export GLIBCXX_FORCE_NEW=1export GMON_OUT_PREFIX=gmon.outexport OMP_DISPLAY_ENV=TRUEexport OMP_MAX_TASKS=100export OMP_NUM_THREADS=@NUM_THREADS@export OMP_PLACES=cores # threads, cores, socketsexport OMP_PROC_BIND=FALSE # false, true, master, close, spreadexport OMP_STACKSIZE=8192 # kByteenv | sort >SIMFACTORY/ENVIRONMENT# Enable this to allow core file# ulimit -c unlimitedecho "Starting:"# Disabling TCP BTLexport CACTUS_STARTTIME=$(date +%s)time \/usr/bin/mpirun \-np @NUM_PROCS@ \--mca btl self,vader \-x CACTUS_NUM_PROCS \-x CACTUS_NUM_THREADS \-x CACTUS_SET_THREAD_BINDINGS \-x CACTUS_STARTTIME \-x CXX_MAX_TASKS \-x GLIBCXX_FORCE_NEW \-x GMON_OUT_PREFIX \-x OMP_DISPLAY_ENV \-x OMP_MAX_TASKS \-x OMP_NUM_THREADS \-x OMP_PLACES \-x OMP_PROC_BIND \-x OMP_STACKSIZE \@EXECUTABLE@ -L 3 @PARFILE@ \>@SIMULATION_NAME@.out \2>@SIMULATION_NAME@.errecho "Stopping:"dateecho "Done."
#! /bin/bashcd @SOURCEDIR@exec @SIMFACTORY@ run @SIMULATION_NAME@ --machine=@MACHINE@ --restart-id=@RESTART_ID@ @FROM_RESTART_COMMAND@ </dev/null >@RUNDIR@/@SIMULATION_NAME@.log 2>&1