Welcome, Guest
Username: Password: Remember me

TOPIC: P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel)

P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel) 8 years 7 months ago #20709

  • bmater
  • bmater's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Thank you received: 3
Hi,

I'm attempting to run Telemac 3d in parallel on Windows 7, but am running into the following error:
Running your simulation(s) :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir Q:\Jobs\2015\1155QPIL\TELEM
AC\testflume\flume_test.cas_2016-03-29-18h06min56s -n 4 out_src_edits_testflume.
exe


MASTER PROCESSOR NUMBER 0 OF THE GROUP OF 4
P_INIT: FILE PARAL NOT FOUND

job aborted:
rank: node: exit code[: error message]
0: CFD42.aldenlab.com: 0: process 0 exited without calling finalize
1: CFD42.aldenlab.com: 123
2: CFD42.aldenlab.com: 123
3: CFD42.aldenlab.com: 123
_____________
runcode::main:
:
|runCode: Fail to run
|C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir Q:\Jobs\2015\1155QPIL\T
ELEMAC\testflume\flume_test.cas_2016-03-29-18h06min56s -n 4 out_src_edits_testfl
ume.exe
|~~~~~~~~~~~~~~~~~~
|
|~~~~~~~~~~~~~~~~~~

What's confusing is the PARAL file does indeed exist in the temp folder, "flume_test.cas_2016-03-29-18h06min56s." It's like a path name to PARAL is messed up somewhere. I've attempted to modify the path name in p_init.f, but that didn't help (changed INQUIRE(FILE='./PARAL',EXIST=YAPARA) to INQUIRE(FILE='PARAL',EXIST=YAPARA) has was suggested in an older post).

I've compiled the code with the attached configuration file and specified option "win7-gfor-mpi." I have no problem running in serial with option "win7gfors".

Any idea what could be going on?

Thanks in advance!
-Ben
Attachments:
The administrator has disabled public write access.

P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel) 8 years 7 months ago #20713

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Ben

PARAL file is manage by the runcode script so you probably should have a look into the python scripts. The inquire is not the origin of the problem.

Hope this helps
Christophe
The administrator has disabled public write access.

P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel) 8 years 7 months ago #20741

  • bmater
  • bmater's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Thank you received: 3
Hi Christophe,

Thanks for the reply. I've had a look through runcode.py and everything looks OK to me. In the "Running the Executable" section I see where the directory is being changed to the working directory (i.e. the temporary folder). A print statement shows that path to the temp folder is correct, e.g.:
working dir= Q:\Jobs\2015\1155QPIL\TELEMAC\testflume\flume_test.cas_2016-03-30-15h07min27s

The run argument that is then fed to "runCode" also looks correct:
C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir Q:\Jobs\2015\1155QPIL\TELEMAC\testflume\flume_test.cas_2016-03-30-15h07min27s -n 2 out_src_edits_testflume.exe

I can run this command within the temporary folder and I get the same error message of my original post.

I know you said INQUIRE wasn't the origin of the problem, but I am curious to look into this subroutine to see why the YAPARA variable is always false. In which file is it defined?

Thanks!
Ben
The administrator has disabled public write access.

P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel) 8 years 7 months ago #20742

  • bmater
  • bmater's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Thank you received: 3
Ah, INQUIRE is a fortran statement. So it must be a path issue...I'll keep looking into it. Any help in the mean time would be appreciated!

Cheers,
Ben
The administrator has disabled public write access.

P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel) 8 years 7 months ago #20743

  • bmater
  • bmater's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Thank you received: 3
Christophe,

It seems that P_INIT.F is being called with a different working directory. I put a GETCWD print statement into P_INIT.F and found that the current working directory is C:\Windows\System32. Not my temporary folder. This is despite the fact that runcode.py is returning the correct working directory. Any advice on how to reconcile? Perhaps something with my config file?

Thanks,
Ben
The administrator has disabled public write access.

P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel) 8 years 7 months ago #20750

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Ben

in my opinion, you should focus on the creation of PARAL file.
This is mandatory in a parallel run and this file should exist in your temp directory.
In runcode.py, line 1136, you will find the gereration of this file.
Could you check this point?

Could you also confirm that the partitionning step is done corectly in your temps directory (partel.log)

Regards
Christophe
The administrator has disabled public write access.

P_INIT: FILE PARAL NOT FOUND (Windows 7 in parallel) 8 years 7 months ago #20804

  • bmater
  • bmater's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Thank you received: 3
Christophe,

The PARAL file is indeed in my temp directory.

As far as the partel.log is concerned...I'm not sure. The partitioning seems to be OK(?). I've attached the .log files.

I should also mention Telemac 2d works just fine in parallel after compiling with the same configuration.

Any additional thoughts?

Thanks so much!
Attachments:
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.