Skip to content

Unable to make it work with the NAS Parallel Benchmarks #1

Description

@mickours

Hi,

I'm currently trying to use mini to extract time independent traces from some MPI NAS benchmarks but after compiling them with mini, even if it is present in the list provided by ldd, the library is loaded but never called.

I tried to catch the MPI_Init call with GDB, but I ended up with a this stack:

Breakpoint 1, 0x00007ffff710fd20 in PMPI_Init () from /nix/store/zllrk0d9l55dzn6kvl6apr3yd7bflg9v-openmpi-3.0.0/lib/libmpi.so.40
>>> bt
#0  0x00007ffff710fd20 in PMPI_Init () from /nix/store/zllrk0d9l55dzn6kvl6apr3yd7bflg9v-openmpi-3.0.0/lib/libmpi.so.40
#1  0x00007ffff77456c8 in pmpi_init__ () from /nix/store/zllrk0d9l55dzn6kvl6apr3yd7bflg9v-openmpi-3.0.0/lib/libmpi_mpifh.so.40
#2  0x0000000000406e27 in MAIN__ ()
#3  0x00000000004073a5 in main ()

I also tried to use LD_PRELOAD to force the load of mini but I get this error:

$ LD_PRELOAD=/nix/store/frgcwpjfwcn6d1wx59xf30zlynq3qszx-mini/lib/libmini.so ./ft.A.2                                                
orted: symbol lookup error: /nix/store/frgcwpjfwcn6d1wx59xf30zlynq3qszx-mini/lib/libmini.so: undefined symbol: ompi_mpi_comm_world

I'm using openmpi 3.0 and the NAS 3.1 MPI, and Nix to package all the thing, but I tried on a debian 9 environment and I get the same errors.

Note that the only thing I made different from the README is that I do not add -lmpi_f77 because it is not in openmpi anymore and seems to be replaced by mpi_usempif08 and mpi_mpifh.

Any hint on how to make this works?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions