How to use PETSc with sunf90?

Satish Balay balay at mcs.anl.gov
Thu Feb 12 11:57:08 CST 2009


On Thu, 12 Feb 2009, Satish Balay wrote:

> On Thu, 12 Feb 2009, Svend Tollak Munkejord wrote:
> 
> > 
> > > But ideally - you should be using '--with-cc=suncc --wth-cxx=sunCC'
> > > with sunf90 [not gcc/g++].
> > 
> > I agree, but this gives:
> > 
> > *********************************************************************************
> >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> > ---------------------------------------------------------------------------------------
> > C++ compiler you provided with -with-cxx=sunCC does not work
> > *********************************************************************************
> > 
> > configure.log contains things like
> > 
> > Possible ERROR while running linker: /usr/lib64/libm.so: file not recognized: File format not recognized

Looks like sunCC is broken. [it can't compile a simple test
code]. This c++ dependency is from hypre..

Satish


More information about the petsc-users mailing list