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

