Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Trouble compiling abinit 5.6.3

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Trouble compiling abinit 5.6.3


Chronological Thread 
  • From: Yann Pouillon <yann.pouillon@ehu.es>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Trouble compiling abinit 5.6.3
  • Date: Thu, 4 Dec 2008 17:00:43 +0100

Hi,

Samuel Sarholz <sarholz@rz.rwth-aachen.de> ha escrito:

I managed to compile abinit 5.6.3 on Solaris with the Sun Studio compiler.
However there are a few bugs in the make mechanism, that I had to fix.

1. The Sun Studio compiler needs the include/module directory set (for
the *.mod file). However the option is different from e.g. GNU and
Intel which use -I. (-I is set with the path the .mod files)
If the Sun Compiler is not supported, then is can be ignored.

My workaround is to specify all the module directories as Fortran
Compiler Flags:
-M$BASEDIR/src/defs -M$BASEDIR/plugins/bigdft
-M$BASEDIR/plugins/bigdft/bigdft-1.0-1/src/PSolver
-M$BASEDIR/plugins/wannier90/wannier90-1.1/src/

The Sun compiler is likely not properly recognized. I've checked this compiler on Linux platforms only, and there might be a few Solaris-specific issues.

Please note that I've backported many bugfixes from 5.7 into 5.6.4. You might want to try this version, for which the build system is more robust.

Please let me know whether there are still issues.

2. the wannier compilation is ignoring FCOPTS (which may caused
problems on other systems as well)
plugins/wannier90/wannier90-1.1/src/Makefile line 13 - 14 :
prog: $(OBJS)
$(F90) wannier_prog.F90 $(LDOPTS) $(OBJS) $(LIBS) -o ../wannier90.x
a file is compiled and linked, so imho the $(FCOPTS) should be added.
(otherwise e.g. 32 or 64 bit options will be ignored and build probably fail)

This has been hopefully fixed in 5.6.4.

3. make install fails
the step I do are:
configure
make
make install

Making install in tests fails. There are several files not found (which
do not exist)
e.g. ,log

The first released source tarball of 5.6.3 had this problem. It has been replaced by a clean one.

If you have the Autotools, you can do the following on a just-untarred source tree:

./config/scripts/make-makefiles-tests
autoreconf -i

Editing the Makefile and removing them from the install list helps.

Typing "make -i install" will also do.

I thought that I had fixed it in 5.6.4, but I just received a report about a failing install in 5.6.4 as well. The same tricks thus apply.

Best regards,

Yann.

--
Yann Pouillon European Theoretical Spectroscopy Facility (ETSF)
Tel: (+34) 943 01 83 94 Centro Joxe Mari Korta, Avenida de Tolosa, 72
Fax: (+34) 943 01 83 90 20018 Donostia-San Sebastián (Gipuzkoa)
Web: http://www.etsf.es/ España






Archive powered by MHonArc 2.6.15.

Top of Page