CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   ParMetis Thirdparty Compilation error in OpenFoam-1.6-ext (http://www.cfd-online.com/Forums/openfoam-installation/90088-parmetis-thirdparty-compilation-error-openfoam-1-6-ext.html)

juliasp June 30, 2011 06:20

ParMetis Thirdparty Compilation error in OpenFoam-1.6-ext
 
I got the following error in the ThirdParty Compilation of OpenFOAM-1.6-ext

Code:

Updating the ThirdParty environment variables before building package ParMetis-3.1.1
Download ParMetis-3.1.1.tar.gz from : http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/ParMetis-3.1.1.tar.gz
--2011-06-29 20:05:48--  http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/ParMetis-3.1.1.tar.gz
Resolving glaros.dtc.umn.edu... 160.94.77.162
Connecting to glaros.dtc.umn.edu|160.94.77.162|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-06-29 20:05:49 ERROR 404: Not Found.

Making package ParMetis-3.1.1 using RPM.
Building package ParMetis-3.1.1
error: File /home/juliasp/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/ParMetis-3.1.1.tar.gz: No such file or directory
Installing package: ParMetis-3.1.1
  Uninstalling ParMetis-3.1.1 using RPM: ParMetis-3.1.1-linux64GccDPOpt.x86_64
  Installing ParMetis-3.1.1 using RPM file: /home/juliasp/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParMetis-3.1.1-linux64GccDPOpt.x86_64.rpm
error: open of /home/juliasp/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParMetis-3.1.1-linux64GccDPOpt.x86_64.rpm failed: No such file or directory
Done installing package ParMetis-3.1.1

this happens because the link http://glaros.dtc.umn.edu/gkhome/fet...s-3.1.1.tar.gz does no longer exist, probably because of new updates. The link for ParMetis-3.1.1.tar.gz is now

http://glaros.dtc.umn.edu/gkhome/fet...s-3.1.1.tar.gz

The easiest way to overcome this error is to download this package to OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES and start the Thirdparty compilation again. I hope this helps at least it worked well for me.

Regards,
Julia

mbeaudoin June 30, 2011 10:14

Thank you Julia for the bug fix.

Looks like the Karypis Lab is moving stuff around on their Web site, so the URLs for downloading Metis and ParMetis get broken.

Your solution is also the right one. Downloading the package directly into the rpmBuild/SOURCES is the right solution until a proper fix makes it into the script and into the main git branch.

If you want to really be sure your bug reports and fixes will get noticed, please contribute them here:

http://sourceforge.net/apps/mantisbt..._view_page.php

Best,

Martin

Quote:

Originally Posted by juliasp (Post 314206)
I got the following error in the ThirdParty Compilation of OpenFOAM-1.6-ext

Code:

Updating the ThirdParty environment variables before building package ParMetis-3.1.1
Download ParMetis-3.1.1.tar.gz from : http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/ParMetis-3.1.1.tar.gz
--2011-06-29 20:05:48--  http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/ParMetis-3.1.1.tar.gz
Resolving glaros.dtc.umn.edu... 160.94.77.162
Connecting to glaros.dtc.umn.edu|160.94.77.162|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-06-29 20:05:49 ERROR 404: Not Found.

Making package ParMetis-3.1.1 using RPM.
Building package ParMetis-3.1.1
error: File /home/juliasp/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/ParMetis-3.1.1.tar.gz: No such file or directory
Installing package: ParMetis-3.1.1
  Uninstalling ParMetis-3.1.1 using RPM: ParMetis-3.1.1-linux64GccDPOpt.x86_64
  Installing ParMetis-3.1.1 using RPM file: /home/juliasp/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParMetis-3.1.1-linux64GccDPOpt.x86_64.rpm
error: open of /home/juliasp/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParMetis-3.1.1-linux64GccDPOpt.x86_64.rpm failed: No such file or directory
Done installing package ParMetis-3.1.1

this happens because the link http://glaros.dtc.umn.edu/gkhome/fet...s-3.1.1.tar.gz does no longer exist, probably because of new updates. The link for ParMetis-3.1.1.tar.gz is now

http://glaros.dtc.umn.edu/gkhome/fet...s-3.1.1.tar.gz

The easiest way to overcome this error is to download this package to OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES and start the Thirdparty compilation again. I hope this helps at least it worked well for me.

Regards,
Julia



All times are GMT -4. The time now is 08:52.