[petsc-dev] configure error

Satish Balay balay at mcs.anl.gov
Thu Apr 19 10:04:27 CDT 2012


yes - such issues [with huge attachments] shouldn't flood mailing list
user mailboxes - and are best sent to petsc-maint.

suggestion is to use:
CC=/sw/lib/gcc4.4/bin/gcc-4 CFLAGS=-malign-double

[instead of CC="/sw/lib/gcc4.4/bin/gcc-4 -malign-double"]

Satish

On Thu, 19 Apr 2012, Mark F. Adams wrote:

> [I sent this error message but it "Your message to petsc-dev awaits moderator approval" because the configure.log was > 512 Kb???]
> 
> I'm moving to a serial build on my Mac and am getting this error:
> 
>  CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>  CMakeLists.txt:2 (project)
> 
> 
> CMake Error: your C compiler: "/sw/lib/gcc4.4/bin/gcc-4 -malign-double" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
> *******************************************************************************
> 
> ~/Codes/petsc-dev-merge>
> ~/Codes/petsc-dev-merge>ll /sw/lib/gcc4.4/bin/gcc-4
> lrwxr-xr-x  1 root  admin  30 Jan  7  2011 /sw/lib/gcc4.4/bin/gcc-4 -> /sw/lib/gcc4.4/bin/gcc-fsf-4.4
> ~/Codes/petsc-dev-merge>ll /sw/lib/gcc4.4/bin/gcc-fsf-4.4
> -rwxr-xr-x  3 root  admin  305400 Jan  7  2011 /sw/lib/gcc4.4/bin/gcc-fsf-4.4
> 
> 




More information about the petsc-dev mailing list