Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hypre build issue on Frontier #225

Open
balos1 opened this issue Oct 11, 2023 · 4 comments
Open

hypre build issue on Frontier #225

balos1 opened this issue Oct 11, 2023 · 4 comments

Comments

@balos1
Copy link
Member

balos1 commented Oct 11, 2023

On Frontier with PrgEnv-gnu, running

spack install hypre@2.30.0%gcc@11.2.0~caliper~complex~cuda~debug+fortran~gptune~int64~internal-superlu~magma~mixedint+mpi~openmp+rocm+shared+superlu-dist~sycl~umpire~unified-memory amdgpu_target=gfx90a build_system=autotools arch=linux-sles15-zen3 

results in errors like

16 errors found in build log:
     491    /opt/cray/pe/mpich/8.1.23/ofi/gnu/9.1/bin/mpicc -O2  -fPIC -DHAVE_CONFIG_H -I.. -I../distributed_ls/Euclid -I. -I./.. -
            I./../blas -I./../lapack -I./../multivector -I./../utilities -I./../krylov -I./../seq_mv -I./../parcsr_mv -I./../distri
            buted_matrix -I./../matrix_matrix -I./../IJ_mv -I./../parcsr_block_mv -I/autofs/nccs-svm1_proj/csc326/balos1/frontier/s
            pack-xsdk/opt/spack/linux-sles15-zen3/gcc-11.2.0/superlu-dist-8.2.0-igrz5ds2rxqmrffqfqnx5l3xbe4k5wwf/include    -I/opt/
            rocm-5.3.0/include       -I/opt/cray/pe/mpich/8.1.23/ofi/gnu/9.1/include -c par_cgc_coarsen.c
     492    In file included from /autofs/nccs-svm1_proj/csc326/balos1/frontier/spack-xsdk/opt/spack/linux-sles15-zen3/gcc-11.2.0/s
            uperlu-dist-8.2.0-igrz5ds2rxqmrffqfqnx5l3xbe4k5wwf/include/gpu_wrapper.h:106,
     493                     from /autofs/nccs-svm1_proj/csc326/balos1/frontier/spack-xsdk/opt/spack/linux-sles15-zen3/gcc-11.2.0/s
            uperlu-dist-8.2.0-igrz5ds2rxqmrffqfqnx5l3xbe4k5wwf/include/gpu_api_utils.h:26,
     494                     from /autofs/nccs-svm1_proj/csc326/balos1/frontier/spack-xsdk/opt/spack/linux-sles15-zen3/gcc-11.2.0/s
            uperlu-dist-8.2.0-igrz5ds2rxqmrffqfqnx5l3xbe4k5wwf/include/superlu_defs.h:104,
     495                     from /autofs/nccs-svm1_proj/csc326/balos1/frontier/spack-xsdk/opt/spack/linux-sles15-zen3/gcc-11.2.0/s
            uperlu-dist-8.2.0-igrz5ds2rxqmrffqfqnx5l3xbe4k5wwf/include/superlu_ddefs.h:37,
     496                     from par_amg.c:18:
  >> 497    /opt/rocm-5.3.0/include/hip/hip_runtime_api.h:6917:2: error: #error ("Must define exactly one of __HIP_PLATFORM_AMD__ o
            r __HIP_PLATFORM_NVIDIA__");
     498     6917 | #error("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__");
     499          |  ^~~~~

Full log: spack-build-out.txt

Maybe related to hypre-space/hypre#986?

@victorapm
Copy link

The spec hypre@develop +rocm +superlu-dist amdgpu_target=gfx90a should work after PR hypre-space/hypre#869 gets merged into hypre's master

@victorapm
Copy link

cc @oseikuffuor1

@balos1 balos1 assigned victorapm and unassigned ulrikeyang and osborn9 Oct 11, 2023
@balos1
Copy link
Member Author

balos1 commented Oct 11, 2023

Great! I will build with ~superlu-dist for now.

@osborn9
Copy link

osborn9 commented Nov 2, 2023

Now that hypre-space/hypre#869 has been merged, I'm able to successfully build hypre@develop+superlu-dist+rocm on Tioga.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants