Problem installing petsc on a Blue Gene/L
Barry Smith
bsmith at mcs.anl.gov
Mon Dec 29 09:34:50 CST 2008
Since the BlueGene is a batch system you need the additional
option --with-batch and follow
the directions.
Barry
On Dec 29, 2008, at 4:34 AM, Shi Jin wrote:
> Hi there,
>
> I have been trying to install petsc-3.0 on a Blue Gene/L system.
> Here is what I used to configure:
> ./configure --CC=blrts_xlc --CFLAGS="-I/bgl/BlueLight/ppcfloor/
> bglsys/include -qtune=440 -qarch=440d -qlist -qsource -O3 -L/bgl/
> BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -lrts.rts -
> ldevices.rts" --with-mpi-compilers=0 --with-fortran=0
>
> I got an error as following:
> TESTING: checkSizeof from config.types(/gpfs/bglscratch/pi/sjin/src/
> petsc-3.0.0-p0/config/BuildSystem/config/types.py:251)
> *********************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
> for details):
> ---------------------------------------------------------------------------------------
> Unable to determine sizeof_char
> *********************************************************************************
>
> Here is the relevant configure.log part:
> TEST checkSizeof from config.types(/gpfs/bglscratch/pi/sjin/src/
> petsc-3.0.0-p0/config/BuildSystem/config/types.py:251)
> TESTING: checkSizeof from config.types(/gpfs/bglscratch/pi/sjin/src/
> petsc-3.0.0-p0/config/BuildSystem/config/types.py:251)
> Determines the size of type "typeName", and defines
> SIZEOF_"typeName" to be the size
> Checking for size of type: char
> Pushing language C
> sh: blrts_xlc -c -o conftest.o -I/bgl/BlueLight/ppcfloor/bglsys/
> include -qtune=440 -qarch=440d -qlist -qsource -O3 -L/bgl/
> BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -lrts.rts -
> ldevices.rts -g conftest.c
> Executing: blrts_xlc -c -o conftest.o -I/bgl/BlueLight/ppcfloor/
> bglsys/include -qtune=440 -qarch=440d -qlist -qsource -O3 -L/bgl/
> BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -lrts.rts -
> ldevices.rts -g conftest.c
> sh:
> Pushing language C
> Popping language C
> sh: blrts_xlc -o conftest -I/bgl/BlueLight/ppcfloor/bglsys/
> include -qtune=440 -qarch=440d -qlist -qsource -O3 -L/bgl/
> BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -lrts.rts -
> ldevices.rts -g conftest.o
> Executing: blrts_xlc -o conftest -I/bgl/BlueLight/ppcfloor/bglsys/
> include -qtune=440 -qarch=440d -qlist -qsource -O3 -L/bgl/
> BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -lrts.rts -
> ldevices.rts -g conftest.o
> sh:
> Executing: ./conftest
> sh: ./conftest
> Executing: ./conftest
> sh:
> ERROR while running executable: Could not execute './conftest':
> *********************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
> for details):
> ---------------------------------------------------------------------------------------
> Unable to determine sizeof_char
> *********************************************************************************
> File "./configure", line 217, in petsc_configure
> framework.configure(out = sys.stdout)
> File "/gpfs/bglscratch/pi/sjin/src/petsc-3.0.0-p0/config/
> BuildSystem/config/framework.py", line 884, in configure
> child.configure()
> File "/gpfs/bglscratch/pi/sjin/src/petsc-3.0.0-p0/config/
> BuildSystem/config/types.py", line 353, in configure
> map(lambda type: self.executeTest(self.checkSizeof, type),
> ['char','void *', 'short', 'int', 'long', 'long long', 'float',
> 'double', 'size_t'])
> File "/gpfs/bglscratch/pi/sjin/src/petsc-3.0.0-p0/config/
> BuildSystem/config/types.py", line 353, in <lambda>
> map(lambda type: self.executeTest(self.checkSizeof, type),
> ['char','void *', 'short', 'int', 'long', 'long long', 'float',
> 'double', 'size_t'])
> File "/gpfs/bglscratch/pi/sjin/src/petsc-3.0.0-p0/config/
> BuildSystem/config/base.py", line 97, in executeTest
> ret = apply(test, args,kargs)
> File "/gpfs/bglscratch/pi/sjin/src/petsc-3.0.0-p0/config/
> BuildSystem/config/types.py", line 275, in checkSizeof
> raise RuntimeError('Unable to determine '+typename)
>
> Do you know what could be my possible cause of the error?
> I wrote a simple C test code and was able to show that
> sizeof(char)=1. Is there a way to get the conftest.c code and try it
> out manually?
> Thanks a lot.
>
> --
> Shi Jin, PhD
>
>
>
>
More information about the petsc-users
mailing list