#2837: Building the Einstein Toolkit
Reporter: Suo-Ning Wang
Status: open
Milestone:
Version: development version
Type: bug
Priority: major
Component: EinsteinToolkit website
Comment (by Suo-Ning Wang):
Hello Roland Haas,
I'm sorry to bother you again. I have download the cmake and my system is based on Opensuse not Ubuntu. Then I build the toolkit and also made some mistake. I attached the make.log on the website and hope you help me. Thank you again.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2837/building-the-eins…
#2837: Building the Einstein Toolkit
Reporter: Suo-Ning Wang
Status: open
Milestone:
Version: development version
Type: bug
Priority: major
Component: EinsteinToolkit website
Comment (by Roland Haas):
Hello Suo-Ning Wang,
hmm, actually looking at the paths in your error message, this is not a personal Ubuntu based laptop, is it? Instead this looks like some share university system where you yourself cannot install cmake.
If the system offers “environment modules” \(`module list` / `module load`\) then you can try and see if there is a `cmake` module available \(or, if the system is small enough, the sysadmin may be willing to install a copy of cmake\).
If that is not possible then you have to compile your own `cmake`. The easiest way is actually using the EinsteinToolkit where there is a “branch” that provides cmake. To do so please run \(in the same directory where you first ran \`GetComponents\`\):
```
./GetComponents --no-update https://bitbucket.org/einsteintoolkit/manifest/raw/a3d645186fc84f605ede2103…
```
and after that remove your partially compiled code
```
rm -rf Cactus/configs/sim
```
then compile again using `sim build` as shown in the tutorial.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2837/building-the-eins…
#2837: Building the Einstein Toolkit
Reporter: Suo-Ning Wang
Status: open
Milestone:
Version: development version
Type: bug
Priority: major
Component: EinsteinToolkit website
Changes (by Roland Haas):
responsible: [] (was )
component: EinsteinToolkit website (was )
version: development version (was )
assignee: Roland Haas (was )
When I am building the Einstein Toolkit, I find some bug which I cannot solve. `./simfactory/bin/sim build -j2 --thornlist thornlists/einsteintoolkit.th`
I want to know what went wrong.


--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2837/building-the-eins…
#2837: Building the Einstein Toolkit
Reporter: Suo-Ning Wang
Status: open
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Roland Haas):
Hello Suo-Ning Wang,
Bitbucket unfortunately hides the file attach button behind the “More” button.

Looking at your log file \(you can use triple backticks \` to create a “code” block and avoid pasted text be formatted\) there is the line:
```
cmake -DADIOS2_USE_MPI=ON -DADIOS2_USE_HDF5=OFF -DCMAKE_INSTALL_PREFIX=/labshare/users_team/suoning/新建文件夹/Cactus/configs/sim/scratch/external/ADIOS2 -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF -DADIOS2_BUILD_EXAMPLES=OFF -DADIOS2_USE_Campaign=OFF -DADIOS2_USE_Fortran=no -DADIOS2_USE_Python=OFF -DADIOS2_USE_ZeroMQ=OFF -DADIOS2_USE_PNG=OFF -DADIOS2_USE_BZip2=OFF -DADIOS2_USE_SST=yes -DADIOS2_USE_BP5=yes -DADIOS2_USE_CUDA= -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release ..
/labshare/users_team/suoning/新建文件夹/Cactus/arrangements/ExternalLibraries/ADIOS2/src/build.sh: 行 72: cmake: 未找到命令
```
and Google translate translates the last bit \(in Chinese\) as:
```
cmake: command not found
```
so you are missing the `cmake` command.
The simplest way to provide it under Ubuntu is
```
sudo apt install cmake
```
This is currently missing from the “Prerequisites” section of [https://github.com/einsteintoolkit/jupyter-et/blob/master/tutorial-server/n… , sorry.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2837/building-the-eins…
#2837: Building the Einstein Toolkit
Reporter: Suo-Ning Wang
Status: open
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Suo-Ning Wang):
```
# generic
# This option list is used internally by simfactory as a template during the
# sim setup and sim setup-silent commands
# Edit at your own risk
# Whenever this version string changes, the application is configured
# and rebuilt from scratch
VERSION = 2018-12-13
CPP = cpp
CC = gcc
CXX = g++
CUCC = nvcc
FPP = cpp
F90 = gfortran
# for CarpetX GPU support
# subset CUCCFLAGS without "-x cu" (must no be used here) and options used only to compile code
# -fno-lto can avoid errors connected to fat binaries
# LD = nvcc --compiler-bindir g++ -g -fno-lto --forward-unknown-to-host-compiler --relocatable-device-code=true --objdir-as-tempdir
CPPFLAGS =
FPPFLAGS = -traditional
# enable for CarpetX GPU suport
# CPPFLAGS = -DSIMD_CPU
# use gnu99 and not c99 since FFTW3 relies on gcc's "asm" function
CFLAGS = -g -std=gnu99
# if compiler is old and you do not need AMReX, can change to c++11
# leave as c++17 for easier CUDA support
CXXFLAGS = -g -std=c++17 -D_GNU_SOURCE
CUCCFLAGS = --compiler-bindir g++ -x cu -g -std=c++17 -D_GNU_SOURCE --expt-relaxed-constexpr --extended-lambda --forward-unknown-to-host-compiler --Werror cross-execution-space-call --Werror ext-lambda-captures-this --relocatable-device-code=true --objdir-as-tempdir
F90FLAGS = -g -fcray-pointer -ffixed-line-length-none
LDFLAGS = -rdynamic
# for CUDA support
# LIBS = gfortran nvToolsExt curand
DEBUG = no
CPP_DEBUG_FLAGS =
C_DEBUG_FLAGS =
CXX_DEBUG_FLAGS =
CUCC_DEBUG_FLAGS=
OPTIMISE = yes
CPP_OPTIMISE_FLAGS =
C_OPTIMISE_FLAGS = -O2
CXX_OPTIMISE_FLAGS = -O2
CUCC_OPTIMISE_FLAGS= -O2
F90_OPTIMISE_FLAGS = -O2
PROFILE = no
CPP_PROFILE_FLAGS =
C_PROFILE_FLAGS = -pg
CXX_PROFILE_FLAGS = -pg
CUCC_PROFILE_FLAGS= -pg
F90_PROFILE_FLAGS = -pg
WARN = yes
CPP_WARN_FLAGS = -Wall
C_WARN_FLAGS = -Wall
CXX_WARN_FLAGS = -Wall
CUCC_WARN_FLAGS= -Wall
F90_WARN_FLAGS = -Wall
OPENMP = yes
CPP_OPENMP_FLAGS = -fopenmp
FPP_OPENMP_FLAGS = -D_OPENMP
C_OPENMP_FLAGS = -fopenmp
CXX_OPENMP_FLAGS = -fopenmp
CUCC_OPENMP_FLAGS= -fopenmp
F90_OPENMP_FLAGS = -fopenmp
# for CUDA support
DISABLE_INT16=yes
DISABLE_REAL16=yes
VECTORISE = yes
VECTORISE_ALIGNED_ARRAYS = no
VECTORISE_INLINE = yes
AMREX_ENABLE_CUDA = no
PTHREADS_DIR = NO_BUILD
```
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2837/building-the-eins…
#2837: Building the Einstein Toolkit
Reporter: Suo-Ning Wang
Status: open
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Suo-Ning Wang):
/configs/sim/OptionList is below. I don’t find where I can upload the file, I can only paste on this website. I feel so sorry about this.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2837/building-the-eins…
#2837: Building the Einstein Toolkit
Reporter: Suo-Ning Wang
Status: open
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Suo-Ning Wang):
I use linux system on Ubuntu. I found my problem, and one file could not be updated.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2837/building-the-eins…
#2414: include con2prim framework by Siegel, Moesta et al. into ET
Reporter: Roland Haas
Status: on hold
Milestone:
Version:
Type: proposal
Priority: major
Component: EinsteinToolkit thorn
Comment (by Roland Haas):
@{557058:4b0c8315-696b-4d2e-92da-2da5fea9e8d4} @{5b5a53bbe288ee2d9b4ba957} @{557058:8bc23f2a-45c0-477d-8ac4-a5a16c734278} are any of these efforts still “alive” or have matured to the point where they could be made public?
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2414/include-con2prim-…