We have model-fitting software coded with Fortran that is running as paraller job. We got the software compiled and it runs nicely under Windows. However, certain models it is required that two models are solved at the same time. We have solved this in a way that the first parallel run makes on certain positions of the algorithm system calls to start a second parallel run forsolving the second model. After the second model has been solved, information for the first model is updated and the first parallel run continues to solve on the first model. This process continues until both models are solved.
When the second model solver is called the following error occures:
[01:5952]...ERROR:Error while connecting to host, No connection could be made be
cause the target machine actively refused it. (10061)
mpiexec aborting job...
The first program is started with command
mpiexec -localroot -n 2 path\\program.exe < directivefile > output.log
Within the program the second model is called
and we also tried systemqq() without success.
Within that .bat -file among other things the second model solver is started with command:
mpiexec -localroot -n 2 path\\program.exe< directivefile
The executable is same but it is working in with different data. This system works perfectly in linux. And we hope that it is possible to run it in same manner in windows. Are there any tricks that we could try?
The MPI library is
Intel MPI Library for Windows* OS, Version 4.0 Update 3 Build 8/24/2011 3:07:12 PM
The fortran compiler is:
Intel Visual Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 126.96.36.1990 Build 20120130
The program is compiled with:
mpifc.bat /O2 program.f90
Thanks in advance
Error when trying to start paraller process using systemqq or system -functions in Windows 7
Wed, 05/16/2012 - 05:11