A parallel run with MPI and User FORTRAN in the setup fails on Windows. Why?


With User FORTRAN always the pvm solver library is linked with the executable, indepent which type of parallel communication (PVM or MPI) will be selected. This is hardcoded in the file cfx5mkext.ccl in the installation directory. In order to use MPI it is required to do the following 2 changes in this file, as listed below.
Additionally, it should be made sure that the absolute path is used for the User FORTRAN library in order to ensure that all slaves can find the library.

OS: winnt
cc = cl
fc = df!
ld = link
cxx = cl
ext build cflags = -MD
ext link ldflags = -threads
# ext link lib5files = solver-pvm.lib
ext link lib5files = solver-mpichnt.lib
cppincflag f = -include:
cppflags f = -fpp:-m
fc outopt obj = -object:
fc outopt exec = -dll:
cc outopt obj = -Fo
ext lib suffix = dll
ext lib pattern = %s.dll
ATTRS: double
cppflags = -DDOUBLE_PRECISION
ext build fflags = -integer_size:32 -real_size:64 -MD
# ext link lib5files = solver-pvm.lib
ext link lib5files = solver-mpichnt.lib
END
END





Show Form
No comments yet. Be the first to add a comment!