Error while installing PETSc

473 views
Skip to first unread message

Pavitra Murru

unread,
Jan 18, 2018, 12:33:26 PM1/18/18
to moose-users
Hello,

I get the following message when I finish running the commands specified under the section of PETSc installation:

UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
-------------------------------------------------------------------------------
Unable to download METIS
Failed to download METIS

Could someone help me with this?
Thank you.

Regards,
Pavitra

Peterson, JW

unread,
Jan 18, 2018, 12:39:58 PM1/18/18
to moose-users
Not without more details from your configure.log file (as the error message says). The download of Metis could have failed for any number of different reasons...

--
John

Pavitra Murru

unread,
Jan 18, 2018, 12:44:01 PM1/18/18
to moose...@googlegroups.com
This is what is given in the configure.log file


"UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
-------------------------------------------------------------------------------
Unable to download METIS
Failed to download METIS
*******************************************************************************
  File "./config/configure.py", line 405, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/framework.py", line 1090, in configure
    self.processChildren()
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/framework.py", line 1079, in processChildren
    self.serialEvaluation(self.childGraph)
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/framework.py", line 1060, in serialEvaluation
    child.configure()
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/package.py", line 790, in configure
    self.executeTest(self.configureLibrary)
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/base.py", line 126, in executeTest
    ret = test(*args,**kargs)
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/package.py", line 699, in configureLibrary
    for location, directory, lib, incl in self.generateGuesses():
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/package.py", line 337, in generateGuesses
    d = self.checkDownload()
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/package.py", line 461, in checkDownload
    return self.getInstallDir()
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/package.py", line 276, in getInstallDir
    if not self.packageDir: self.packageDir = self.downLoad()
  File "/home/pavitrat/Downloads/MOOSE/projects/src/petsc-3.7.6/config/BuildSystem/config/package.py", line 637, in downLoad
    raise RuntimeError('Unable to download '+self.PACKAGE+'\n'+err)"

Thank you.



--
You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moose-users/7nfUbr2zmNc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANj%2BmwCJd%3D__8qeda%3DNrXJGrh8tQBmymO%2BO%2Bm8L2oz_wLA%3D2Hg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Pavitra Tejaswi Murru
Graduate Student
Department of Civil Engineering
Texas A&M University

Derek Gaston

unread,
Jan 18, 2018, 12:50:43 PM1/18/18
to moose...@googlegroups.com
Pavitra,

Can you tell us more about what you're trying to do?  Are you on a workstation?  Cluster?

Is there a reason you're not using one of our precompiled packages?

Derek

To unsubscribe from this group and all its topics, send an email to moose-users...@googlegroups.com.



--
Pavitra Tejaswi Murru
Graduate Student
Department of Civil Engineering
Texas A&M University

--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.

Miller, Jason M

unread,
Jan 18, 2018, 1:03:43 PM1/18/18
to moose...@googlegroups.com
According to PETSc build system, metis is trying to be downloaded from the following url:


On the machine which you are having the issue, are you able to perform the following commands:


Then, a check to make sure the file downloaded is a 'gzip' one:

  `file v5.1.0-p4.tar.gz` should out put:

v5.1.0-p4.tar.gz: gzip compressed data, from Unix


If you are able to download that file, then there is something else going on we need to figure out. But if you can't download that file, then well... that is the issue, and its most likely some firewall rule, or perhaps a proxy configuration in place, preventing that machine from using bitbucket. This wouldn't be unheard of. For a while, I believe our lab was blocking access to that location.


Jason




--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.

Pavitra Murru

unread,
Jan 18, 2018, 1:05:12 PM1/18/18
to moose...@googlegroups.com
Hello Derek,

I somehow overlooked the correct option (Ubuntu) for my system and have been trying the manual installation option.
I am extremely sorry for the confusion.

To unsubscribe from this group and all its topics, send an email to moose-users+unsubscribe@googlegroups.com.



--
Pavitra Tejaswi Murru
Graduate Student
Department of Civil Engineering
Texas A&M University

--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moose-users/7nfUbr2zmNc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moose-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Koushik C

unread,
Feb 20, 2018, 2:08:33 PM2/20/18
to moose-users
Hello guys,
I am also having a similar issue. I am trying to configure Petsc with metis in my server with CentOS and I am pointing to the metis-5.1.0.tar.gz file which is already downloaded while configuring (--download-metis=<path to the tar.gz file>). But I still get the same error as Pavitra. 

The server does not have internet access, only intranet access. I wanted to know if this is an issue without internet. 

Thank you,
Regards,
Koushik C
To unsubscribe from this group and all its topics, send an email to moose-users...@googlegroups.com.



--
Pavitra Tejaswi Murru
Graduate Student
Department of Civil Engineering
Texas A&M University

--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moose-users/7nfUbr2zmNc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moose-users...@googlegroups.com.

Miller, Jason M

unread,
Feb 20, 2018, 3:45:18 PM2/20/18
to moose...@googlegroups.com
I gave this try, and it seems to work for me...

[~/Downloads/petsc-3.7.6]> ./configure \
--download-hypre=1 \
--with-ssl=0 \
--with-debugging=0 \
--with-pic=1 \
--with-shared-libraries=1 \ 
--with-cc=mpicc \
--with-cxx=mpicxx \
--with-fc=mpif90 \
--download-metis=/tmp/downloads/metis-5.1.0.tar.gz \
--download-parmetis=1 \
--download-fblaslapack=1 \
--download-superlu_dist=1 \
--download-mumps=1 \
--download-scalapack=1 \
-CC=mpicc \
-CXX=mpicxx \
-FC=mpif90 \
-F77=mpif77 \
-F90=mpif90 \
-CFLAGS='-fPIC -fopenmp' -CXXFLAGS='-fPIC -fopenmp' \
-FFLAGS='-fPIC -fopenmp' -FCFLAGS='-fPIC -fopenmp' \
-F90FLAGS='-fPIC -fopenmp' -F77FLAGS='-fPIC -fopenmp'

Eventually I get this:

===============================================================================
Trying to download file:///tmp/downloads/metis-5.1.0.tar.gz for METIS
===============================================================================   


Afraid to say, but it seems to work for me...
What is your configure line? Does it error? Also, the configure.log can hold a wealth of information about a failed PETSc build.



To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages