[petsc-users] PETSc on 64 bit machine

Satish Balay balay at mcs.anl.gov
Tue May 24 14:56:40 CDT 2011


Is gcc functional on this machine? A simple compile by configure gives
a wierd error.

Satish

>>>>>>
sh: gcc  -o conftest    -m64 -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl
Executing: gcc  -o conftest    -m64 -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl
sh:
Executing: ./conftest
sh: ./conftest
Executing: ./conftest
sh:
ERROR while running executable: Could not execute './conftest':
./conftest: 8: Syntax error: "(" unexpected
<<<<<<

On Tue, 24 May 2011, Bartłomiej W wrote:

> Hello,
> 
> Trying to configure PETSc on 64 bit Ubuntu with:
> 
> ./config/configure.py --with-cc=gcc --with-cxx=g++ --with-fc=0 --with-mpi=0 --with-64-bit-pointers=1 --with-64-bit-indices=1
> 
> getting
> 
> Failed to find 8-bit clean memcmp(). Cannot proceed.
> 
> Did anyone meet with this issue?
> 
> Regards
> Bartek Wach
> 


More information about the petsc-users mailing list