Hi Jake -

Hui (CC'd) also recently ran into this issue and was
able to find a workaround. Hui, could you describe the workaround?

It looks like there is a bug here...

Cheers,

-michael

On 10/25/16, 6:38 PM, "Caswell, Jacob" <[email protected]> wrote:

>Hello everyone,
>
>
>
>I've been trying to make Chapel from the github repo for multilocale
>execution over infiniband on a Cray CS300-LC machine using the following
>script:
>
>
>
>--------------------------------------------------------------------------
>-
>
>#!/bin/bash
>
>
>
>source ../chapel/util/setchplenv.bash
>
>
>
>#export CHPL_TARGET_PLATFORM=cray-cs
>
>export CHPL_COMM=gasnet
>
>export CHPL_COMM_SUBSTRATE=ibv
>
>export CHPL_LAUNCHER=slurm-gasnetrun_ibv
>
>
>
>cd $CHPL_HOME && gmake
>
>--------------------------------------------------------------------------
>-
>
>
>
>However, when compiling a program, I keep getting the following errors:
>
>
>
>--------------------------------------------------------------------------
>-
>
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapSNodeBroadcast_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x19b): undefined reference to `ompi_mpi_byte'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x1ba): undefined reference to `MPI_Isend'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x1dd): undefined reference to `MPI_Waitall'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x1fb): undefined reference to `ompi_mpi_byte'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x212): undefined reference to `MPI_Recv'
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapBroadcast_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x25b): undefined reference to `ompi_mpi_byte'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x26a): undefined reference to `MPI_Bcast'
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapAlltoall_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x291): undefined reference to `ompi_mpi_byte'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x2ab): undefined reference to `MPI_Alltoall'
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapExchange_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x2e0): undefined reference to `ompi_mpi_byte'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x2fa): undefined reference to `MPI_Allgather'
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapBarrier_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x319): undefined reference to `MPI_Barrier'
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapAbort_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x32b): undefined reference to `MPI_Abort'
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapFini_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x357): undefined reference to `MPI_Comm_free'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x365): undefined reference to `MPI_Finalize'
>/chapel/third-party/gasnet/install/linux64-gnu-unknown/seg-large/nodbg/lib
>/libgasnet-ibv-par.a(gasnet_bootstrap_mpi-PAR.o): In function
>`gasneti_bootstrapInit_mpi':
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x389): undefined reference to `MPI_Initialized'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x3a3): undefined reference to `ompi_mpi_comm_world'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x3ac): undefined reference to `MPI_Comm_group'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x3b1): undefined reference to `ompi_mpi_comm_world'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x3bf): undefined reference to `MPI_Comm_create'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x3c8): undefined reference to `MPI_Group_free'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x3d9): undefined reference to `MPI_Comm_size'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x407): undefined reference to `MPI_Comm_rank'
>/chapel/third-party/gasnet/gasnet-src/other/mpi-spawner/gasnet_bootstrap_m
>pi.c:(.text+0x43a): undefined reference to `MPI_Init'
>collect2: ld returned 1 exit status
>gmake: *** [/tmp/chpl-231304.deleteme/kmeans.tmp] Error 1
>error: compiling generated source
>
>
>
>--------------------------------------------------------------------------
>-​
>
>Is there a way to fix this by linking MPI / ompi?
>
>
>
>Thank you very much,
>
>Jake
>
>
>

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to