Topic: ABout MPI in Simply fortran
I can't run the example in the file when i already download the MPI package.
it says undefined reference to 'mpi_init' etc...
For discussions of all Approximatrix products and related software
You are not logged in. Please login or register.
Approximatrix Forums → User Support → ABout MPI in Simply fortran
I can't run the example in the file when i already download the MPI package.
it says undefined reference to 'mpi_init' etc...
Make sure you have the following in the Linker box under Compiler Flags in Project Options:
-lmpif90 -lmsmpi
thank you!!
another question how to ask for more processors, when i run the code it shows me it has only one processor but it does have more. thank you!
You need to run it via the mpiexec command. It should be on your path after installing the package. The command would be:
mpiexec -n 4 target.exe
to launch 4 images of your project's process (assuming the executable is target.exe).
Approximatrix Forums → User Support → ABout MPI in Simply fortran
Powered by PunBB, supported by Informer Technologies, Inc.