Skip to Content.
Sympa Menu

forum - Problem with iofn1.F90 when running in parallel

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Problem with iofn1.F90 when running in parallel


Chronological Thread 
  • From: delaire@caltech.edu
  • To: forum@abinit.org
  • Subject: Problem with iofn1.F90 when running in parallel
  • Date: Fri, 15 Jun 2007 23:06:28 +0200

Dear Abinit gurus,

I compiled Abinit-5.3.4 in serial and parallel. The serial code runs fine and
passes the tests. The parallel code compiled with my MPI installation and all
the library dependencies appear to be fulfilled. However, when I run some
parallel tests, I get the following error:

Starting job 'mpiexec -n 8 abinip534'
PGFIO-F-217/formatted read/unit=5/attempt to read past end of file.
File name = stdin formatted, sequential access record = 1
In source file iofn1.F90, at line number 123
ABINIT

Give name for formatted input file:
rank 0 in job 1 n00_49800 caused collective abort of all ranks
exit status of rank 0: killed by signal 9

It seems that the parallel execution of the code is not happy with the way
the inputs are passed to the code. Specifically, there seems to be a problem
with the "redefinition of standard in and standard out" in the file
iofn1.F90, maybe because of the redefinition of unit 05 and 06?

I tried ot re-compile the code after defining the flag READ_FROM_FILE in
config.h, ie:
#define READ_FROM_FILE

doing "touch src/18*/iofn1.F90" and re-making in the top dir (which it
apparently did), but i still get the same error at the parallel execution.

Any ideas about what I should do?

Thanks in advance,
Olivier



Archive powered by MHonArc 2.6.16.

Top of Page