<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div><div><div><div>I ran into following errors while trying to build PETSc-dev on Intrepid @ALCF. (configure.log attached)<br><br>*******************************************************************************<br>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Cannot run executable to determine size of char. If this machine uses a batch system <br>
to submit jobs you will need to configure using ./configure with the additional option --with-batch.<br> Otherwise there is problem with the compilers. Can you compile and run code with your C/C++ (and maybe Fortran) compilers?<br>
*******************************************************************************<br> File "/gpfs/home/jkumar/lib/petsc/config/configure.py", line 293, in petsc_configure<br> framework.configure(out = sys.stdout)<br>
File "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/framework.py", line 933, in configure<br> child.configure()<br> File "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py", line 386, in configure<br>
map(lambda type: self.executeTest(self.checkSizeof, type), ['char','void *', 'short', 'int', 'long', 'long long', 'float', 'double', 'size_t'])<br>
File "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py", line 386, in <lambda><br> map(lambda type: self.executeTest(self.checkSizeof, type), ['char','void *', 'short', 'int', 'long', 'long long', 'float', 'double', 'size_t'])<br>
File "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/base.py", line 115, in executeTest<br> ret = apply(test, args,kargs)<br> File "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py", line 296, in checkSizeof<br>
raise RuntimeError(msg)<br><br></div>This is what my configuration looks like (adapted from config/examples/arch-bgp-ibm-opt.py)<br>configure_options = [<br> '--with-cc=mpixlc',<br> '--with-fc=mpixlf90',<br>
'--with-cxx=mpixlcxx',<br> 'COPTFLAGS=-O3',<br> 'FOPTFLAGS=-O3',<br> '--with-debugging=0',<br> '--with-cmake=/soft/apps/fen/cmake-2.8.3/bin/cmake',<br># '--with-hdf5=/soft/apps/hdf5-1.8.0',<br>
'--download-parmetis=1',<br> '--download-metis=1',<br> '--download-plapack=1',<br> '--download-hdf5=1'<br> ]<br><br></div>I would appreciate any help building the llbrary there. <br>
<br>
</div>Thanks,<br></div>Jitu<br></div>
</div><br></div>