Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
amrex build errors
==> Installing amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw
==> No binary for amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw found: installing from source
==> Fetching https://github.com/AMReX-Codes/amrex/releases/download/20.12/amrex-20.12.tar.gz
==> amrex: Executing phase: 'cmake'
==> amrex: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j6'
7 errors found in build log:
95 cd /tmp/root/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwo
eqfefn44ldtwkw/spack-build-jqne5t3/Src && /opt/software/linux-ubunt
u20.04-haswell/gcc-9.3.0/cuda-11.1.0-n5wch2ga6sejvwicpkxlx26y4vxj77
22/bin/nvcc -ccbin=/usr/bin/g++ -DAMREX_GIT_VERSION=\"20.12.0\" -DA
MREX_GPU_MAX_THREADS=256 -DAMREX_Linux -DAMREX_PARTICLES -DAMREX_SP
ACEDIM=3 -DAMREX_USE_CUDA -DAMREX_USE_GPU -DAMREX_USE_MPI -DAMREX_U
SE_NVML -DAMREX_USE_OMP -DAMREX_XSDK -DBL_COALESCE_FABS -DBL_Linux
-DBL_NO_FORT -DBL_SPACEDIM=3 -DBL_USE_MPI -DBL_USE_OMP -I/tmp/root/
spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwk
w/spack-src/Src/Base -I/tmp/root/spack-stage/spack-stage-amrex-20.1
2-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Boundary -I/tmp/ro
ot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ld
twkw/spack-src/Src/AmrCore -I/tmp/root/spack-stage/spack-stage-amre
x-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Amr -I/tmp/r
oot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44l
dtwkw/spack-src/Src/LinearSolvers/MLMG -I/tmp/root/spack-stage/spac
k-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/
LinearSolvers/Projections -I/tmp/root/spack-stage/spack-stage-amrex
-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Particle -isy
stem=/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem=/us
r/lib/x86_64-linux-gnu/openmpi/include -m64 --expt-relaxed-constex
pr --expt-extended-lambda -Wno-deprecated-gpu-targets -gencode=arch
=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode
=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -ge
ncode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_6
1 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code
=sm_75 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compu
te_75,code=compute_75 -maxrregcount=255 -Xcudafe --diag_suppress=es
a_on_defaulted_function_ignored --use_fast_math -Xcudafe --display_
error_number --Wext-lambda-captures-this --forward-unknown-to-host-
compiler -O3 -DNDEBUG -Xcompiler=-fopenmp -Xcompiler=-Werror=retu
rn-type -Xcompiler -pthread -std=c++11 -x cu -dc /tmp/root/spack-st
age/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-
src/Src/Base/AMReX_BlockMutex.cpp -o CMakeFiles/amrex.dir/Base/AMRe
X_BlockMutex.cpp.o
96 cd /tmp/root/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwo
eqfefn44ldtwkw/spack-build-jqne5t3/Src && /opt/software/linux-ubunt
u20.04-haswell/gcc-9.3.0/cuda-11.1.0-n5wch2ga6sejvwicpkxlx26y4vxj77
22/bin/nvcc -ccbin=/usr/bin/g++ -DAMREX_GIT_VERSION=\"20.12.0\" -DA
MREX_GPU_MAX_THREADS=256 -DAMREX_Linux -DAMREX_PARTICLES -DAMREX_SP
ACEDIM=3 -DAMREX_USE_CUDA -DAMREX_USE_GPU -DAMREX_USE_MPI -DAMREX_U
SE_NVML -DAMREX_USE_OMP -DAMREX_XSDK -DBL_COALESCE_FABS -DBL_Linux
-DBL_NO_FORT -DBL_SPACEDIM=3 -DBL_USE_MPI -DBL_USE_OMP -I/tmp/root/
spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwk
w/spack-src/Src/Base -I/tmp/root/spack-stage/spack-stage-amrex-20.1
2-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Boundary -I/tmp/ro
ot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ld
twkw/spack-src/Src/AmrCore -I/tmp/root/spack-stage/spack-stage-amre
x-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Amr -I/tmp/r
oot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44l
dtwkw/spack-src/Src/LinearSolvers/MLMG -I/tmp/root/spack-stage/spac
k-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/
LinearSolvers/Projections -I/tmp/root/spack-stage/spack-stage-amrex
-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Particle -isy
stem=/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem=/us
r/lib/x86_64-linux-gnu/openmpi/include -m64 --expt-relaxed-constex
pr --expt-extended-lambda -Wno-deprecated-gpu-targets -gencode=arch
=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode
=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -ge
ncode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_6
1 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code
=sm_75 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compu
te_75,code=compute_75 -maxrregcount=255 -Xcudafe --diag_suppress=es
a_on_defaulted_function_ignored --use_fast_math -Xcudafe --display_
error_number --Wext-lambda-captures-this --forward-unknown-to-host-
compiler -O3 -DNDEBUG -Xcompiler=-fopenmp -Xcompiler=-Werror=retu
rn-type -Xcompiler -pthread -std=c++11 -x cu -dc /tmp/root/spack-st
age/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-
src/Src/Base/AMReX.cpp -o CMakeFiles/amrex.dir/Base/AMReX.cpp.o
97 cd /tmp/root/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwo
eqfefn44ldtwkw/spack-build-jqne5t3/Src && /opt/software/linux-ubunt
u20.04-haswell/gcc-9.3.0/cuda-11.1.0-n5wch2ga6sejvwicpkxlx26y4vxj77
22/bin/nvcc -ccbin=/usr/bin/g++ -DAMREX_GIT_VERSION=\"20.12.0\" -DA
MREX_GPU_MAX_THREADS=256 -DAMREX_Linux -DAMREX_PARTICLES -DAMREX_SP
ACEDIM=3 -DAMREX_USE_CUDA -DAMREX_USE_GPU -DAMREX_USE_MPI -DAMREX_U
SE_NVML -DAMREX_USE_OMP -DAMREX_XSDK -DBL_COALESCE_FABS -DBL_Linux
-DBL_NO_FORT -DBL_SPACEDIM=3 -DBL_USE_MPI -DBL_USE_OMP -I/tmp/root/
spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwk
w/spack-src/Src/Base -I/tmp/root/spack-stage/spack-stage-amrex-20.1
2-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Boundary -I/tmp/ro
ot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ld
twkw/spack-src/Src/AmrCore -I/tmp/root/spack-stage/spack-stage-amre
x-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Amr -I/tmp/r
oot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44l
dtwkw/spack-src/Src/LinearSolvers/MLMG -I/tmp/root/spack-stage/spac
k-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/
LinearSolvers/Projections -I/tmp/root/spack-stage/spack-stage-amrex
-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Particle -isy
stem=/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem=/us
r/lib/x86_64-linux-gnu/openmpi/include -m64 --expt-relaxed-constex
pr --expt-extended-lambda -Wno-deprecated-gpu-targets -gencode=arch
=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode
=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -ge
ncode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_6
1 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code
=sm_75 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compu
te_75,code=compute_75 -maxrregcount=255 -Xcudafe --diag_suppress=es
a_on_defaulted_function_ignored --use_fast_math -Xcudafe --display_
error_number --Wext-lambda-captures-this --forward-unknown-to-host-
compiler -O3 -DNDEBUG -Xcompiler=-fopenmp -Xcompiler=-Werror=retu
rn-type -Xcompiler -pthread -std=c++11 -x cu -dc /tmp/root/spack-st
age/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-
src/Src/Base/AMReX_ParmParse.cpp -o CMakeFiles/amrex.dir/Base/AMReX
_ParmParse.cpp.o
98 cd /tmp/root/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwo
eqfefn44ldtwkw/spack-build-jqne5t3/Src && /opt/software/linux-ubunt
u20.04-haswell/gcc-9.3.0/cuda-11.1.0-n5wch2ga6sejvwicpkxlx26y4vxj77
22/bin/nvcc -ccbin=/usr/bin/g++ -DAMREX_GIT_VERSION=\"20.12.0\" -DA
MREX_GPU_MAX_THREADS=256 -DAMREX_Linux -DAMREX_PARTICLES -DAMREX_SP
ACEDIM=3 -DAMREX_USE_CUDA -DAMREX_USE_GPU -DAMREX_USE_MPI -DAMREX_U
SE_NVML -DAMREX_USE_OMP -DAMREX_XSDK -DBL_COALESCE_FABS -DBL_Linux
-DBL_NO_FORT -DBL_SPACEDIM=3 -DBL_USE_MPI -DBL_USE_OMP -I/tmp/root/
spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwk
w/spack-src/Src/Base -I/tmp/root/spack-stage/spack-stage-amrex-20.1
2-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Boundary -I/tmp/ro
ot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ld
twkw/spack-src/Src/AmrCore -I/tmp/root/spack-stage/spack-stage-amre
x-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Amr -I/tmp/r
oot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44l
dtwkw/spack-src/Src/LinearSolvers/MLMG -I/tmp/root/spack-stage/spac
k-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/
LinearSolvers/Projections -I/tmp/root/spack-stage/spack-stage-amrex
-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Particle -isy
stem=/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem=/us
r/lib/x86_64-linux-gnu/openmpi/include -m64 --expt-relaxed-constex
pr --expt-extended-lambda -Wno-deprecated-gpu-targets -gencode=arch
=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode
=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -ge
ncode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_6
1 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code
=sm_75 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compu
te_75,code=compute_75 -maxrregcount=255 -Xcudafe --diag_suppress=es
a_on_defaulted_function_ignored --use_fast_math -Xcudafe --display_
error_number --Wext-lambda-captures-this --forward-unknown-to-host-
compiler -O3 -DNDEBUG -Xcompiler=-fopenmp -Xcompiler=-Werror=retu
rn-type -Xcompiler -pthread -std=c++11 -x cu -dc /tmp/root/spack-st
age/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-
src/Src/Base/AMReX_parmparse_fi.cpp -o CMakeFiles/amrex.dir/Base/AM
ReX_parmparse_fi.cpp.o
99 cd /tmp/root/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwo
eqfefn44ldtwkw/spack-build-jqne5t3/Src && /opt/software/linux-ubunt
u20.04-haswell/gcc-9.3.0/cuda-11.1.0-n5wch2ga6sejvwicpkxlx26y4vxj77
22/bin/nvcc -ccbin=/usr/bin/g++ -DAMREX_GIT_VERSION=\"20.12.0\" -DA
MREX_GPU_MAX_THREADS=256 -DAMREX_Linux -DAMREX_PARTICLES -DAMREX_SP
ACEDIM=3 -DAMREX_USE_CUDA -DAMREX_USE_GPU -DAMREX_USE_MPI -DAMREX_U
SE_NVML -DAMREX_USE_OMP -DAMREX_XSDK -DBL_COALESCE_FABS -DBL_Linux
-DBL_NO_FORT -DBL_SPACEDIM=3 -DBL_USE_MPI -DBL_USE_OMP -I/tmp/root/
spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwk
w/spack-src/Src/Base -I/tmp/root/spack-stage/spack-stage-amrex-20.1
2-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Boundary -I/tmp/ro
ot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ld
twkw/spack-src/Src/AmrCore -I/tmp/root/spack-stage/spack-stage-amre
x-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Amr -I/tmp/r
oot/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44l
dtwkw/spack-src/Src/LinearSolvers/MLMG -I/tmp/root/spack-stage/spac
k-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/
LinearSolvers/Projections -I/tmp/root/spack-stage/spack-stage-amrex
-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-src/Src/Particle -isy
stem=/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem=/us
r/lib/x86_64-linux-gnu/openmpi/include -m64 --expt-relaxed-constex
pr --expt-extended-lambda -Wno-deprecated-gpu-targets -gencode=arch
=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode
=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -ge
ncode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_6
1 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code
=sm_75 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compu
te_75,code=compute_75 -maxrregcount=255 -Xcudafe --diag_suppress=es
a_on_defaulted_function_ignored --use_fast_math -Xcudafe --display_
error_number --Wext-lambda-captures-this --forward-unknown-to-host-
compiler -O3 -DNDEBUG -Xcompiler=-fopenmp -Xcompiler=-Werror=retu
rn-type -Xcompiler -pthread -std=c++11 -x cu -dc /tmp/root/spack-st
age/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-
src/Src/Base/AMReX_Utility.cpp -o CMakeFiles/amrex.dir/Base/AMReX_U
tility.cpp.o
100 nvcc fatal : Unsupported gpu architecture 'compute_30'
>> 101 make[2]: *** [Src/CMakeFiles/amrex.dir/build.make:92: Src/CMakeFile
s/amrex.dir/Base/AMReX_error_fi.cpp.o] Error 1
102 make[2]: *** Waiting for unfinished jobs....
103 nvcc fatal : Unsupported gpu architecture 'compute_30'
104 nvcc fatal : Unsupported gpu architecture 'compute_30'
105 nvcc fatal : Unsupported gpu architecture 'compute_30'
>> 106 make[2]: *** [Src/CMakeFiles/amrex.dir/build.make:66: Src/CMakeFile
s/amrex.dir/Base/AMReX_BlockMutex.cpp.o] Error 1
>> 107 make[2]: *** [Src/CMakeFiles/amrex.dir/build.make:79: Src/CMakeFile
s/amrex.dir/Base/AMReX.cpp.o] Error 1
>> 108 make[2]: *** [Src/CMakeFiles/amrex.dir/build.make:105: Src/CMakeFil
es/amrex.dir/Base/AMReX_ParmParse.cpp.o] Error 1
109 nvcc fatal : Unsupported gpu architecture 'compute_30'
>> 110 make[2]: *** [Src/CMakeFiles/amrex.dir/build.make:118: Src/CMakeFil
es/amrex.dir/Base/AMReX_parmparse_fi.cpp.o] Error 1
111 nvcc fatal : Unsupported gpu architecture 'compute_30'
>> 112 make[2]: *** [Src/CMakeFiles/amrex.dir/build.make:131: Src/CMakeFil
es/amrex.dir/Base/AMReX_Utility.cpp.o] Error 1
113 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-amrex
-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-build-jqne5t3'
>> 114 make[1]: *** [CMakeFiles/Makefile2:222: Src/CMakeFiles/amrex.dir/al
l] Error 2
115 make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-amrex
-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-build-jqne5t3'
116 make: *** [Makefile:133: all] Error 2
See build log for details:
/tmp/root/spack-stage/spack-stage-amrex-20.12-jqne5t32rxkzodklwoeqfefn44ldtwkw/spack-build-out.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment