[overture] overture and petsc on mac

  • From: Joel Guerrero <joegi.geo@xxxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Thu, 7 May 2009 11:18:22 -0700 (PDT)

Hi,  

I am trying to install overture with petsc on macos, so far overture and cg 
compilation goes fine, but I haven't been able to interface petsc with cgins.  
This is the error that I am getting when turning on petsc in cgins

/sw/bin/g++-4 -fpic -fno-common -I/usr/include/c++/4.0.0/backward -g -w -I./src 
-I/Users/joegi/cfd/overture/v23/cg.v23/common/src 
-I/Users/joegi/cfd/overture/v23/cg.v23/common/shared 
-I/Users/joegi/cfd/overture/v23/cg.v23/common/moving/src 
-I/Users/joegi/cfd/overture/v23/cg.v23/common/chemistry 
-I/Users/joegi/cfd/overture/v23/cg.v23/common/dataBase 
-I/Users/joegi/cfd/overture/v23/cg.v23/src 
-I/Users/joegi/cfd/overture/v23/Overture.v23/include 
-I/Users/joegi/cfd/overture/v23/A++P++-0.7.9d/A++/install/include  
-I/sw/include -I/Users/joegi/cfd/overture/v23/petsc-2.3.2/include  
-I/Users/joegi/cfd/overture/v23/petsc-2.3.2/bmake/darwin -DOVERTURE_USE_PETSC 
-I/Users/joegi/cfd/overture/v23/petsc-2.3.2/include/mpiuni -I/usr/X11R6/include 
  -o bin/cgins ./obj/cginsMain.o ./obj/buildEquationSolvers.o 
./obj/PETScEquationSolver.o ./obj/MultigridEquationSolver.o   
-L`pwd`/../ins/lib  -lCgins -L`pwd`/../common/lib  -lCgCommon 
 -L/Users/joegi/cfd/overture/v23/Overture.v23/lib  -lOverture -lOverture_static 
 -L/sw/lib -lhdf5 -ljpeg -lz  
/Users/joegi/cfd/overture/v23/petsc-2.3.2/lib/darwin 
-L/Users/joegi/cfd/overture/v23/petsc-2.3.2/lib/darwin -lpetscksp -lpetscdm 
-lpetscmat -lpetscvec -lpetsc  -lmpiuni  
-L/Users/joegi/cfd/overture/v23/A++P++-0.7.9d/A++/install/lib -lApp 
-lApp_static   -llapack -lblas -Wl-framework,Accelerate   -L/usr/X11R6/lib -lGL 
-lGLU -L/sw/lib -lXm  -L/usr/X11R6/lib -lXpm -lXp -lXt -lXmu -lXi -lXext -lX11  
-L/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -lperl -ldl -lm 
-lutil -lc 
ld: in /Users/joegi/cfd/overture/v23/petsc-2.3.2/lib/darwin, can't map file, 
errno=22
collect2: ld returned 1 exit status
make: *** [bin/cgins] Error 1



at this point I ran out of ideas, any help will be appreciate .


Cheers,

Joel


      

Other related posts: