Skip to content

undefined reference to symbol 'MPI_Rsend' and error adding symbols: DSO missing from command line #34

@sun51027

Description

@sun51027

Hi
I have problems with "make" files.
I follow the guide in Stellarator-Tools, and cmake runs well.
While when compiling ("make"), error occurred:

/usr/bin/ld: /home/linshih/Library/scalapack/build/lib/libscalapack.a(BI_Rsend.c.o): undefined reference to symbol 'MPI_Rsend'
/home/linshih/Library/openmpi-4.1.5/lib/libmpi.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
_deps/parvmec-build/CMakeFiles/xvmec.dir/build.make:106: recipe for target '_deps/parvmec-build/xvmec' failed
make[2]: *** [_deps/parvmec-build/xvmec] Error 1
CMakeFiles/Makefile2:929: recipe for target '_deps/parvmec-build/CMakeFiles/xvmec.dir/all' failed
make[1]: *** [_deps/parvmec-build/CMakeFiles/xvmec.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2.   

Does it matter with my environment setting?
I've downloaded latest version SCALAPACK and OpenMPI and point them into correct paths, so cmake runs well. But I still don't understand what I should do to deal with this.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions