Sorry to bother you, but I have to ask this question.
The commands I used are as follows:
export REPO_DEST=~/Project
cd ${REPO_DEST}
git clone --recursive https://github.com/Exawind/exawind-manager.git
export EXAWIND_MANAGER=${REPO_DEST}/exawind-manager
source ${EXAWIND_MANAGER}/start.sh && spack-start
mkdir ${REPO_DEST}/env_amrwind_openfast && cd ${REPO_DEST}/env_amrwind_openfast
quick-create-dev -d . -s amr-wind@3.4.0+openfast+netcdf%gcc@11.2.0 openfast@3.5.3+rosco%gcc@11.2.0
export EXAWIND_MANAGER=${REPO_DEST}/exawind-manager
source ${EXAWIND_MANAGER}/start.sh && spack-start
cd ${REPO_DEST}/env_amrwind_openfast
quick-activate .
spack install
However,it always like this when install gmake
`spack install
==> Concretized 2 specs
- jptxqop amr-wind@3.4.0
asanascentcdash_submitclangtidycudafftgpu-aware-mpihdf5helicshypreipomasa+mpi+netcdfninja+openfastopenmprocm+sharedsycl+tests+tiny_profileumpirewaves2amr build_system=cmake build_type=Release ctest_args='-R unit' dev_path=/data/home/zwyang2/Project/env_amrwind_openfast/amr-wind generator=make reference_golds=default arch=linux-centos7-zen2 %gcc@11.2.0
- zsg3l7d ^cmake@3.31.6
doc+ncurses+ownlibsqtgui build_system=generic build_type=Release arch=linux-centos7-zen2 %gcc@11.2.0
- pyfnldd ^curl@8.11.1
gssapildaplibidn2librtmplibsshlibssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-centos7-zen2 %gcc@11.2.0
- qphqs6l ^nghttp2@1.65.0 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- j73rvk6 ^openssl@3.4.1~docs+shared build_system=generic certs=mozilla arch=linux-centos7-zen2 %gcc@11.2.0
[+] quv4t6l ^ca-certificates-mozilla@2025-02-25 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- o4mv464 ^ncurses@6.5~symlinks+termlib abi=none build_system=autotools patches=7a351bc arch=linux-centos7-zen2 %gcc@11.2.0
[+] c3r357r ^gcc-runtime@11.2.0 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
[e] pxp43eu ^glibc@2.17 build_system=autotools patches=be65fec,e179c43 arch=linux-centos7-zen2 %gcc@11.2.0
- vg5uos6 ^gmake@4.4.1~guile build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- ugjd27n ^netcdf-c@4.9.2+blosc
byterangedapfsynchdf4jnalogging+mpinczarr_zip+optimizeparallel-netcdf+pic+shared+szip+zstd build_system=autotools patches=0161eb8 arch=linux-centos7-zen2 %gcc@11.2.0
- 5ly7xuh ^bzip2@1.0.8
debugpic+shared build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- bxeja35 ^diffutils@3.10 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- cysculp ^c-blosc@1.21.5+avx2~ipo build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0
- p6xojgk ^lz4@1.10.0+pic build_system=makefile libs=shared,static arch=linux-centos7-zen2 %gcc@11.2.0
- ytgnh32 ^snappy@1.2.1~ipo+pic+shared build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0
- ljnfd7t ^libaec@1.0.6~ipo+shared build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0
- 2chqwhm ^zstd@1.5.6+programs build_system=makefile compression=none libs=shared,static arch=linux-centos7-zen2 %gcc@11.2.0
- 2abpsis ^openmpi@5.0.6+atomics
cudadebuggpfsinternal-hwlocinternal-libeventinternal-pmixjavalustrememcheckeropenshmemromio+rshstatic~two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none romio-filesystem=none schedulers=none arch=linux-centos7-zen2 %gcc@11.2.0
- oaaa2wq ^autoconf@2.72 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- wqkuwym ^m4@1.4.19+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-centos7-zen2 %gcc@11.2.0
- mzzlx4r ^libsigsegv@2.14 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- rcy4xiz ^automake@1.16.5 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- qjq4vbk ^hwloc@2.11.1
cairocudagllevel_zerolibudev+libxml2nvmlopencl+pcirocm build_system=autotools libs=shared,static arch=linux-centos7-zen2 %gcc@11.2.0
- ofu7jdj ^libpciaccess@0.17 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- nkuw7oi ^util-macros@1.20.1 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- vcdak6e ^libevent@2.1.12+openssl build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- 3vuivsv ^libtool@2.4.7 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- snojgss ^findutils@4.10.0 build_system=autotools patches=440b954 arch=linux-centos7-zen2 %gcc@11.2.0
- s7k2uuh ^numactl@2.0.18 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- mqlkowd ^openssh@9.9p1+gssapi build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- vjoi25o ^krb5@1.21.3+shared build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- 4jlyzjf ^bison@3.8.2~color build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- 6jzq4zu ^libedit@3.1-20240808 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- crz4hyq ^libxcrypt@4.4.38~obsolete_api build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- wmc4ydl ^perl@5.40.0+cpanm+opcode+open+shared+threads build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- qxo5j3m ^berkeley-db@18.1.40+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-centos7-zen2 %gcc@11.2.0
- p7nwdgk ^gdbm@1.23 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- ww64x3x ^pkgconf@2.3.0 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- unae4ni ^pmix@5.0.5
mungepython build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- if52lxz ^py-netcdf4@1.7.2+mpi build_system=python_pip patches=255b5ae arch=linux-centos7-zen2 %gcc@11.2.0
- k5nfmzl ^py-certifi@2023.7.22 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- dkryal4 ^py-cftime@1.0.3.4 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- 5mbsmrr ^py-cython@3.0.11 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- sw3bd2i ^py-mpi4py@4.0.1 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- 43nsqec ^py-pip@24.3.1 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- m7nypvr ^py-setuptools@76.0.0 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- ybha76b ^py-setuptools-scm@8.2.0+toml build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- pjnvjrp ^git@2.48.1+man+nls+perl+subtree
svntcltk build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- kmwkj6z ^libidn2@2.3.7 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- pig55te ^libunistring@1.2 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- 7e5be4l ^pcre2@10.44~jit+multibyte+pic build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- u435ywf ^py-packaging@24.2 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- 33qpftt ^py-flit-core@3.10.1 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- sfo5cr5 ^py-wheel@0.45.1 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- agikv33 ^python@3.13.2+bz2+ctypes+dbm
debug+libxml2+lzmaoptimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- bw2y3pl ^expat@2.7.0+libbsd build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- j5eajnr ^libbsd@0.12.2 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- kzlyj75 ^libmd@1.1.0 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- k5islps ^gettext@0.23.1+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- le24lr6 ^tar@1.35 build_system=autotools zip=pigz arch=linux-centos7-zen2 %gcc@11.2.0
- d6pogsg ^pigz@2.8 build_system=makefile arch=linux-centos7-zen2 %gcc@11.2.0
- 4zaaqob ^libffi@3.4.6 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- uigsvh2 ^readline@8.2 build_system=autotools patches=1ea4349,24f587b,3d9885e,5911a5b,622ba38,6c8adf8,758e2ec,79572ee,a177edc,bbf97f1,c7b45ff,e0013d9,e065038 arch=linux-centos7-zen2 %gcc@11.2.0
- 7uh3ock ^sqlite@3.46.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- jej2max ^util-linux-uuid@2.40.4 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- k7spjfj ^python-venv@1.0 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
- d2cxv3u ^py-numpy@2.2.4 build_system=python_pip patches=873745d arch=linux-centos7-zen2 %gcc@11.2.0
- wsumjz3 ^py-meson-python@0.16.0 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- zeqyayg ^meson@1.7.0 build_system=python_pip patches=0f0b1bd arch=linux-centos7-zen2 %gcc@11.2.0
- ljkloth ^ninja@1.12.1+re2c build_system=generic patches=93f4bb3 arch=linux-centos7-zen2 %gcc@11.2.0
- yaoulpr ^re2c@3.1 build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- yphkibc ^py-pyproject-metadata@0.7.1 build_system=python_pip arch=linux-centos7-zen2 %gcc@11.2.0
- ylo2lv4 openfast@3.5.3+cxx+dll-interface+double-precision
fastfarmfpe-trapipo+netcdfopenmp+pic+rosco+shared build_system=cmake build_type=Release dev_path=/data/home/zwyang2/Project/env_amrwind_openfast/openfast generator=make patches=effbd74 arch=linux-centos7-zen2 %gcc@11.2.0
- qx45x7a ^hdf5@1.14.5+cxx
fortran+hlipojavamap+mpi+sharedsubfilingszip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0
- jscv2va ^libxml2@2.13.5
http+picpython+shared build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
- 5vctqfk ^libiconv@1.17 build_system=autotools libs=shared,static arch=linux-centos7-zen2 %gcc@11.2.0
- 2jfqaa2 ^xz@5.6.3~pic build_system=autotools libs=shared,static arch=linux-centos7-zen2 %gcc@11.2.0
- um5uysq ^openblas@0.3.29
bignumaconsistent_fpcsr+dynamic_dispatch+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-centos7-zen2 %gcc@11.2.0
- cjsmomw ^rosco@2.9.0
ipopic~shared build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0
- xhaadkt ^yaml-cpp@0.6.3
ipo+pic+sharedtests build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0
- l5cbbi5 ^zlib-ng@2.2.3+compat+new_strategies+opt+pic+shared build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0
[+] /usr (external glibc-2.17-pxp43eu5qccxvkdqcljno3qjn25knaes)
[+] /data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/gcc-runtime-11.2.0-c3r357rg6bwomzrmpmyqyyqtlc6iyzgo
[+] /data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/ca-certificates-mozilla-2025-02-25-quv4t6ldvb7la4c7zc5qlf6aamo4pejx
==> Installing gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan [4/82]
==> No binary for gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan found: installing from source
==> Using cached archive: /data/home/zwyang2/.spack_downloads/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 77:
'/data/home/zwyang2/Project/exawind-manager/stage/spack-stage-gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan/spack-src/configure' '--prefix=/data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan' '--without-guile' '--disable-nls' '--disable-dependency-tracking'
2 errors found in build log:
6 checking for gawk... gawk
7 checking whether make sets $(MAKE)... yes
8 checking whether make supports nested variables... yes
9 checking whether make supports the include directive... yes (GNU style)
10 checking for gcc... /data/home/zwyang2/Project/exawind-manager/spack/lib/spack/e
nv/c++
11 checking whether the C compiler works... no
12 configure: error: in /data/home/zwyang2/Project/exawind-manager/stage/spack-sta ge-gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan/spack-src/spack-build': 13 configure: error: C compiler cannot create executables 14 See config.log' for more details
`
However, when I use gcc 4.8.5 alone to install gmake, it works successfully.
Can you please let me know what I am doing wrong?
Very very thanks!
Sorry to bother you, but I have to ask this question.
The commands I used are as follows:
export REPO_DEST=~/Project
cd ${REPO_DEST}
git clone --recursive https://github.com/Exawind/exawind-manager.git
export EXAWIND_MANAGER=${REPO_DEST}/exawind-manager
source ${EXAWIND_MANAGER}/start.sh && spack-start
mkdir ${REPO_DEST}/env_amrwind_openfast && cd ${REPO_DEST}/env_amrwind_openfast
quick-create-dev -d . -s amr-wind@3.4.0+openfast+netcdf%gcc@11.2.0 openfast@3.5.3+rosco%gcc@11.2.0
export EXAWIND_MANAGER=${REPO_DEST}/exawind-manager
source ${EXAWIND_MANAGER}/start.sh && spack-start
cd ${REPO_DEST}/env_amrwind_openfast
quick-activate .
spack install
However,it always like this when install gmake
`spack install
==> Concretized 2 specs
asanascentcdash_submitclangtidycudafftgpu-aware-mpihdf5helicshypreipomasa+mpi+netcdfninja+openfastopenmprocm+sharedsycl+tests+tiny_profileumpirewaves2amr build_system=cmake build_type=Release ctest_args='-R unit' dev_path=/data/home/zwyang2/Project/env_amrwind_openfast/amr-wind generator=make reference_golds=default arch=linux-centos7-zen2 %gcc@11.2.0doc+ncurses+ownlibsqtgui build_system=generic build_type=Release arch=linux-centos7-zen2 %gcc@11.2.0gssapildaplibidn2librtmplibsshlibssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-centos7-zen2 %gcc@11.2.0[+] quv4t6l ^ca-certificates-mozilla@2025-02-25 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
[+] c3r357r ^gcc-runtime@11.2.0 build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0
[e] pxp43eu ^glibc@2.17 build_system=autotools patches=be65fec,e179c43 arch=linux-centos7-zen2 %gcc@11.2.0
byterangedapfsynchdf4jnalogging+mpinczarr_zip+optimizeparallel-netcdf+pic+shared+szip+zstd build_system=autotools patches=0161eb8 arch=linux-centos7-zen2 %gcc@11.2.0debugpic+shared build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0cudadebuggpfsinternal-hwlocinternal-libeventinternal-pmixjavalustrememcheckeropenshmemromio+rshstatic~two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none romio-filesystem=none schedulers=none arch=linux-centos7-zen2 %gcc@11.2.0cairocudagllevel_zerolibudev+libxml2nvmlopencl+pcirocm build_system=autotools libs=shared,static arch=linux-centos7-zen2 %gcc@11.2.0mungepython build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0svntcltk build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0debug+libxml2+lzmaoptimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic arch=linux-centos7-zen2 %gcc@11.2.0fastfarmfpe-trapipo+netcdfopenmp+pic+rosco+shared build_system=cmake build_type=Release dev_path=/data/home/zwyang2/Project/env_amrwind_openfast/openfast generator=make patches=effbd74 arch=linux-centos7-zen2 %gcc@11.2.0fortran+hlipojavamap+mpi+sharedsubfilingszip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0http+picpython+shared build_system=autotools arch=linux-centos7-zen2 %gcc@11.2.0bignumaconsistent_fpcsr+dynamic_dispatch+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-centos7-zen2 %gcc@11.2.0ipopic~shared build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0ipo+pic+sharedtests build_system=cmake build_type=Release generator=make arch=linux-centos7-zen2 %gcc@11.2.0[+] /usr (external glibc-2.17-pxp43eu5qccxvkdqcljno3qjn25knaes)
[+] /data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/gcc-runtime-11.2.0-c3r357rg6bwomzrmpmyqyyqtlc6iyzgo
[+] /data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/ca-certificates-mozilla-2025-02-25-quv4t6ldvb7la4c7zc5qlf6aamo4pejx
==> Installing gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan [4/82]
==> No binary for gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan found: installing from source
==> Using cached archive: /data/home/zwyang2/.spack_downloads/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 77:
'/data/home/zwyang2/Project/exawind-manager/stage/spack-stage-gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan/spack-src/configure' '--prefix=/data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan' '--without-guile' '--disable-nls' '--disable-dependency-tracking'
2 errors found in build log:
6 checking for gawk... gawk
7 checking whether make sets $(MAKE)... yes
8 checking whether make supports nested variables... yes
9 checking whether make supports the include directive... yes (GNU style)
10 checking for gcc... /data/home/zwyang2/Project/exawind-manager/spack/lib/spack/e
nv/c++
11 checking whether the C compiler works... no
However, when I use gcc 4.8.5 alone to install gmake, it works successfully.
Can you please let me know what I am doing wrong?
Very very thanks!