issues with ParMetis-3.1.1

Any issues related to compiling the source code, resolving the dependencies, etc..

issues with ParMetis-3.1.1

Postby fangxingjun on Tue May 25, 2010 11:09 am

When I am trying to install the ParMetis-3.1.1, I followed the instructions in the website of: http://glaros.dtc.umn.edu/gkhome/metis/ ... s/download

I type:
gunzip ParMetis-3.1.1.tar.gz

tar -xvf ParMetis-3.1.1.tar
cd ParMetis-3.1.1/

sudo make



After that I came across the following warrning:
io.c: In function ‘ParallelReadGraph’:
io.c:58: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c:132: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c:208: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c:220: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c: In function ‘ReadTestCoordinates’:
io.c:452: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
io.c: In function ‘ReadMetisGraph’:
io.c:489: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c:498: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c: In function ‘Mc_SerialReadMetisGraph’:
io.c:697: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c:726: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c: In function ‘ParallelReadMesh’:
io.c:897: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c:943: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
mpicc -DNDEBUG -O3 -I./ -I../ParMETISLib -c adaptgraph.c
mpicc -o ../Graphs/ptest ptest.o io.o adaptgraph.o -L.. -L/opt/local/lib -L/usr/lib -lparmetis -lmetis -lm
chmod 744 ../Graphs/ptest
mpicc -DNDEBUG -O3 -I./ -I../ParMETISLib -c mtest.c
mpicc -o ../Graphs/mtest mtest.o io.o -L.. -L/opt/local/lib -L/usr/lib -lparmetis -lmetis -lm
chmod 744 ../Graphs/mtest
mpicc -DNDEBUG -O3 -I./ -I../ParMETISLib -c parmetis.c
mpicc -o ../Graphs/parmetis parmetis.o io.o adaptgraph.o -L.. -L/opt/local/lib -L/usr/lib -lparmetis -lmetis -lm
chmod 744 ../Graphs/parmetis
mpicc -DNDEBUG -O3 -I./ -I../ParMETISLib -c pometis.c
mpicc -o ../Graphs/pometis pometis.o io.o -L.. -L/opt/local/lib -L/usr/lib -lparmetis -lmetis -lm
chmod 744 ../Graphs/pometis


How may I fix this??
THANK YOU VERY MUCH!
I am a student from P.R China
fangxingjun
Subsonic
Subsonic
 
Posts: 25
Joined: Sun May 23, 2010 6:57 am

issues with ParMetis-3.1.1

Sponsor

Sponsor
 

Re: issues with ParMetis-3.1.1

Postby fangxingjun on Wed May 26, 2010 1:42 am

Just now I did the test in the install:

$mpirun -np 4 ptest rotor.graph
$mpirun -np 4 mtest bricks.hex3d 2

and it seems all right..
Then I type:
$export PARMETIS_BASE=/home/frank/FreeCFD/ParMetis-3.1.1
$source ~/.bashrc


but still the freeCFD can not find the PARMETIS_BASE???

:?
fangxingjun
Subsonic
Subsonic
 
Posts: 25
Joined: Sun May 23, 2010 6:57 am

Re: issues with ParMetis-3.1.1

Postby Anton on Wed May 26, 2010 3:58 am

Coukd you please post the outputfrom running "make" in freecfd directory
Anton
Subsonic
Subsonic
 
Posts: 30
Joined: Sun Mar 08, 2009 6:53 am

Re: issues with ParMetis-3.1.1

Postby fangxingjun on Wed May 26, 2010 4:11 am

Anton wrote:Coukd you please post the outputfrom running "make" in freecfd directory





I have compiled free-cfd 0.1.2

But when I try to Run Free CFD as:
$mpirun -np 1 fcfd sq_cavity

It returns:
mpirun was unable to launch the specified application as it could not find an executable:

Executable: fcfd
Node: ubuntu

while attempting to start process rank 0.
fangxingjun
Subsonic
Subsonic
 
Posts: 25
Joined: Sun May 23, 2010 6:57 am

Re: issues with ParMetis-3.1.1

Postby Anton on Wed May 26, 2010 7:59 am

Try
Code: Select all
mpirun -np 1 /full/path/to/fcfd sq_cavity
Anton
Subsonic
Subsonic
 
Posts: 30
Joined: Sun Mar 08, 2009 6:53 am

Re: issues with ParMetis-3.1.1

Postby fangxingjun on Thu May 27, 2010 2:22 am

Anton wrote:Try
Code: Select all
mpirun -np 1 /full/path/to/fcfd sq_cavity



It works...Thank you very much
fangxingjun
Subsonic
Subsonic
 
Posts: 25
Joined: Sun May 23, 2010 6:57 am

Re: issues with ParMetis-3.1.1

Sponsor

Sponsor
 


Return to Installation Issues

Who is online

Users browsing this forum: No registered users and 1 guest