Try using --with-batch=1 and follow the sugested steps. Looking at the sx6 config file - looks like the compilers used were cc,f90,cxx - so perhaps the env was slightly different. [don't remember if it was cross compile or not..]
One potential issue is: configure might not be able to auto-detect c/fortran compiler libraries [needed for mixing c & fortran codes]. If this is an issue - sugest using someting like: --with-clib-autodetect=0 --with-fortranlib-autodetect=0 --with-cxxlib-autodetect=0 LIBS="-lf90sx -lf90sxe -lv90sxe -li90sx -lu90sx -lm90sx" [Might have to modify LIBS argument to the correct c/fortran compiler library list] If you encounter problems - send us configure.log at petsc-maint at mcs.anl.gov Satish On Tue, 11 Aug 2009, Joel Guerrero wrote: > Hi Satish, > > Well basically I am having problems with the cross compilation, are there any > instructions available about how to cross compile petsc on these platforms?. > I am using sx9 compilers (sxcc, sxc++, sxmpicc and so on). > > > Thanks for your help, > > Joel > > > > > ----- Original Message ---- > From: Satish Balay <balay at mcs.anl.gov> > To: PETSc users list <petsc-users at mcs.anl.gov> > Sent: Wednesday, August 12, 2009 4:29:26 AM > Subject: Re: porting petsc to a nec sx9 computer running under unix super ux > > we had an old version - perhaps 2.2.x working on sx6. It has standard > compilers with mpi and blas - so I'm guessing current petsc should > work on sx9. > > If you encounter problems building on sx9 - then send us the error > logs at petsc-maint at mcs.anl.gov > > Satish > > On Tue, 11 Aug 2009, Joel Guerrero wrote: > > > Hi, > > > > I wonder if somebody have experience in porting petsc to a nec sx9 computer? > > > > > > Cheers, > > > > joel > > > > > > > > > > > > > >