-
Notifications
You must be signed in to change notification settings - Fork 62
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
installing pumi with spack #367
Comments
@cwsmith do we have any evidence of a successful build of this toolchain with intel compilers? In any success I have been involved with it was with gnu compilers. |
Hi @KennethEJansen. Good question. I just successfully built the
and it appears to run without any obvious errors. Hi @Thomas-Ulrich. If I understand correctly, SimModSuite was installed manually (without using spack) using MPICH and you hit a linking error when building PUMI, via Spack with Intel Compilers and Intel MPI, using that existing SimModSuite install. Is that correct? Does manually building PUMI with this config (Intel Compiler, Intel MPI, existing SimModSuite install) hit the same error?
Based on your comment about and add a linking dependency on
|
Hi,
|
Thanks for the OS info. It looks like Sun RPC, which provides the xdr api/types, was removed from glibc in version 2.32, and was optional starting with version 2.26. In Spack, Running
Right, Simmetrix does not provide source code for their libs. When I said 'manual install' I meant the install was done without using Spack. Spack can extract the distributed tarballs for SimModSuite, build the MPI wrapper library, install things in places that downstream libraries like PUMI expect, and provide Lua module files. |
Yes, I tried build pumi manually I got similar issue. |
@Thomas-Ulrich I just pushed a branch to spack (https://github.com/spack/spack/tree/cws/simmodsuiteRpc) that adds the rpc dependency. This doesn't yet resolve the issue as PUMI needs to know to look for the RPC lib. Ideally, this would be embedded into something provided by SimModSuite, but I don't see an obvious option besides having Spack install a cmake config file. |
@Thomas-Ulrich An initial version of a CMake build system for SimModSuite is here: https://github.com/SCOREC/simmodsuiteCmake It currently installs a CMake config file that can be used to successfully compile and link the example in the This will eventually be used by Spack to install SimModSuite so packages like PUMI can more easily resolve its dependencies. |
Hi,
Here is the full log:
I also tried to copy |
Hi @Thomas-Ulrich, it seems to me that rpc is not installed on our cluster ;-) |
there is a problem installing pumi - see SCOREC/core#367
I'm going to mark this as closed as I think the combination of local rpc installs and the changes to PUMI's 'FindSimModSuite' logic [https://github.com//pull/414] are sufficient. I've been using that combination successfully on our RHEL9 systems without any issues. If you hit another system that is missing rpc and can test the spack branch that attempts to add it as a simmodsuite dep, I'd be interested in coordinating on that. |
Hi,
I'm trying to install pumi with:
For that, I updated this line
https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/pumi/package.py#L97
to
mpi_id = 'mpich3'
(else spack will look for SimPartitionedMesh-intel-mpi-2019.12.320)
~/.spack/packages.yaml looks like that:
Then I got the following errors when linking:
Any idea on what could be the cause?
(I tried adding depends_on('libtirpc') to pumi but this does not fixes the problem).
Thomas.
The text was updated successfully, but these errors were encountered: