I am trying to compile:
mpicc -o laplace laplace_mpi.c -L. -lpardiso600-GNU720-X86-64 -llapack -lrefblas -lgfortran -fopenmp -lpthread -ldl -lstdc++ -lm
which works for gcc instead of mpicc but I get:
/tmp/ccu1hut5.o: In function mpipardiso_driver': laplace_mpi.c:(.text+0x1250): undefined reference to pardiso_mpi_init_c_'
Does anyone know a solution?
Thanks,
John
Compiling mpi C Pardiso
68 Views Asked by John At
1
There are 1 best solutions below
Related Questions in COMPILER-ERRORS
- File refuses to compile std::erase() even if using -std=g++23
- Why am I getting this error ? error CS0103: The name 'EnhancedStackTrace' does not exist in the current context
- Using custom comparator to sort a Priority Queue in C++. Keep getting invalid comparator error
- Maven (Java) does not build dependencies into a compiled file
- Gradle SAXParseException cvc-complex-type.2.4.a
- Can't resolve undefined reference to box2D C++
- ld: library 'nsl' not found, /usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1 in macOS
- Problems with converting old Fortran code
- vc++ thread constructor throwing compiler error c2672
- about "preprocessing" in PintOS compiling(C programming), There are 2-questions for referencing headers and incomplete type error
- Trying to compile GCC returns a bunch of errors
- Class not compiling
- Run java program
- Can't get any code to run on Visual Studio Code
- Why is there an error with gfortran but ifort and pgf90 do not?
Related Questions in PARDISO
- Trouble compiling PardisoSupport with Eigen?
- How to make a Makefile to run gfortran file calling Intel MKL
- Eigen::Pardiso gives a wrong solution which very close to zero,
- Intel MKL: link to PARDISO
- An exception occurred when I use Eigen::PardisoLU with cmake
- Replacement for (mkl) pardiso for arm64 (Apple Silicon)
- 'PyPardisoError: The Pardiso solver failed with error code -3. See Pardiso documentation for details'. How to solve it?
- Julia exits when using Pardiso solver on Windows
- Using Eigen Pardiso with SparseMatrix which has 64 bit integer as StorageIndex
- Compiling mpi C Pardiso
- Pardiso cannot find License File
- Accessing the pardiso solver from MKL 2020 in python
- How to get intel MKL's cblas_dgemm and pardiso solvers in python?
- dask.delayed memory management when a single task can consume a lot of memory outside of python
- Problem building Pardiso in Julia on Windows
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I can only contribute that apparently the newer libpardiso libraries do not seem to export these symbols anymore (at least
nm -gDdoes not show them) - so I would expect the linker error..Sadly I cannot test Pardiso 4.1 (apparently the version that introduced the MPI component into Pardiso) since old binaries are not available for licensing/download.
Also - I cannot compile the above line with gcc instead of mpicc either - since it has an unresolved dependency to mpi. I think you mean you were able to compile the laplace.c example form the Pardiso examples? That should work since it does not use any pardiso_mpi symbols. Note that mpicc is just a wrapper and will still (at least on my machine) call gcc (see
mpicc --showme).I would assume that a some point Pardiso dropped the mpi symbols from their libraries. Meaning your problem cannot be solved and the example on the Pardiso webpage cannot be compiled with the current Pardiso executables.
I hope this at least gives you some insight as of why it does not work. I would suggest contacting the pardiso support and asking for the mpi version of pardiso.