PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

machine file for MPICH-GM
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
mkcolg



Joined: 30 Jun 2004
Posts: 6215
Location: The Portland Group Inc.

PostPosted: Fri Feb 24, 2006 4:58 pm    Post subject: Reply with quote

Hi Sandip,

While I've only use MPICH-GM a few times, I believe the "mpi.h" header file is common to all MPICH flavors having the same version. However, I would use the "mpi.h" header file that accompanies the MPICH-GM libraries that your using just in case.

Is there are specific problem you encountering?

- Mat
Back to top
View user's profile
Sandip



Joined: 08 Feb 2006
Posts: 8

PostPosted: Mon Feb 27, 2006 4:02 pm    Post subject: pgf90 error message Reply with quote

Mat,

Could you help me to resolve the problem.
PGFIO-F-231/formatted read/unit=40/error on data conversion.
File name = DATA/Par_file formatted, sequential access record = 32
In source file read_parameter_file.f90, at line number 144

And this the portion of the read_parameter_file.90
read(IIN,*)
read(IIN,*)
read(IIN,4) junk,MODEL
read(IIN,*)
read(IIN,*) ---------------------------------------> line number 144
read(IIN,3) junk,OCEANS
read(IIN,3) junk,TOPOGRAPHY
read(IIN,3) junk,ATTENUATION
read(IIN,3) junk,USE_OLSEN_ATTENUATION

Thanks.
Sandip
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6215
Location: The Portland Group Inc.

PostPosted: Mon Feb 27, 2006 5:05 pm    Post subject: Reply with quote

Hi Sandip,

This error occurs when your trying to read in data that is not compatible with the variable's data type you're reading it into. Since "read(IIN, *)" basically says to skip to the next record, which in your case should be the next line, I doubt this is causing the problem. More likely it's the line "read(IIN,3) junk,OCEANS". For example, if OCEANS is an INTEGER and your trying to read in a string.

What data is your program is trying to read in at line 32 of the data file. Does it match OCEANS data type?

- Mat
Back to top
View user's profile
Sandip



Joined: 08 Feb 2006
Posts: 8

PostPosted: Tue Feb 28, 2006 4:28 pm    Post subject: Reply with quote

Mat,
You are correct.
The error is occuring at READ(IIN,3) junk,OCEANS
3 FORMAT(a,120)
and OCEANS is a logical parameter and defined as .true.
where .true. represents running on a Beowulf-type machine with local disks.

thanks.
Sandip
Back to top
View user's profile
Sandip



Joined: 08 Feb 2006
Posts: 8

PostPosted: Wed Mar 08, 2006 4:28 pm    Post subject: Reply with quote

Hi Mat,

Thank you for your help.

I again need your help.

I'm facing this error message,
PGFIO/stdio: No such file or directory
PGFIO-F-/OPEN/unit=10/error code returned by host stdio - 2.
File name = /tmp/DATABASES_MPI/proc0005_iboolleft_xi.txt
In source file get_MPI_cutplanes_xi.f90, at line number 69

I've created an directory /tmp/DATABASES_MPI on each node.

the error is here,
! global point number and coordinates left MPI cut-plane
open(unit=10,file=prname(1:len_trim(prname))//'iboolleft_xi.txt',status='unknown') ...line number 69

! create the name for the database of the current slide and region
write(procname,10) iproc
10 format('/proc',i4.4,'_')

I've mentioned the processors name as,
n1.cluster.edu
n2.cluster.edu
. . . . . . ..
in DATA/Par_file
MACHINE_FILE = mymachines.64

I'm using the shell script for compilation
# name of the file that contains the list of machines
list_of_machines=`grep MACHINE_FILE DATA/Par_file | cut -c 34-`

In the original script,
grep -v '#' $list_of_machines |tr -d ' '| tr -d 'n' >$PWD/mymachines.64
this line was also used. But I've commented this line.

In the original script, the machine file name was n001, n002, n003.......

Does the name of the machine file creat the problem?
I didn't able to resolve the problem.
Can you help me to find out some solution?

If you need I can send the files.

Thanks.
Sandip
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group