freeon-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeon-users] Fwd: compilation error


From: Nicolas Bock
Subject: [Freeon-users] Fwd: compilation error
Date: Mon, 16 Jan 2012 10:16:02 -0700

Hi Mohamed,

sorry, I forgot to include you in my reply to the list.

nick


---------- Forwarded message ----------
From: Nicolas Bock <address@hidden>
Date: Mon, Jan 16, 2012 at 10:14
Subject: Re: [Freeon-users] compilation error
To: address@hidden


Hi Mohamed,

the build system is a little fragile in that sense. Some compilers have trouble compiling some files and end up taking forever or blowing up by running out of memory. In order to properly fix this we really need to rewrite those sources so that the compilers don't have problems anymore. This will eventually happen, although it might take a while.

With your work around you certainly are avoiding these issues, but at the expense of getting non-optimized binaries. These will take _much_ longer to run than optimized versions. I am surprised though that the compiler flags didn't take. Why don't you try to configure your sources such as:

./configure FC=gfortran F77=gfortran CC=gcc LDFLAGS=-L/usr/local/lapack/lib " FFLAGS="-g -O2 -march=native -msse -msse2 -mfpmath=sse -ffast-math -pipe -ffixed-line-length-none" FCFLAGS="-g -O2 -march=native -msse -msse2 -mfpmath=sse -ffast-math -pipe -ffixed-line-length-none" CFLAGS="-g -O2 -march=native -msse -msse2 -mfpmath=sse -ffast-math -pipe -ffixed-line-length-none" --prefix=/tmp/FreeON

don't forget to run "make clean" before you run "make". Please let us know how that worked out.

nick


On Sun, Jan 15, 2012 at 14:51, mohamed makhyoun <address@hidden> wrote:
Hi  Nick,  Hi Jeff :

Thank you for your help. In the QCTC directory it seems that make command  insist  to use the old flags.

Starting from  scratch  and using :

 ./configure FC=gfortran F77=gfortran CC=gcc LDFLAGS=-L/usr/local/lapack/lib " FFLAGS="-O0 -g" FCFLAGS="-O0 -g" CFLAGS="-O0 -g" --prefix=/tmp/FreeON

and it worked.

Best regard
mohamed




reply via email to

[Prev in Thread] Current Thread [Next in Thread]