[Octopus-users] parallel compilation

Xavier Andrade xavier at tddft.org
Sun Oct 18 18:55:12 WEST 2009


Hi,

On Sun, 18 Oct 2009, Francesco Pietra wrote:

> Hi Xavier:
> Thanks for your patience. Having no local technical support make
> problems to me and, worse, to the community. I come to compile only
> when I need a new program, when I had forgot the experience
> accumulated during the previous installation.
>
> Once the lacking "-" was fixed, serial "./configure" and "make"
> completed without error messages. "make install" returned error:
>
> ...............
> ...............
> Making install in liboct_parser
> make[1]: Entering directory `/usr/local/octopus-3.1.0/liboct_parser'
> make[2]: Entering directory `/usr/local/octopus-3.1.0/liboct_parser'
> test -z "/opt/etsf/lib" || /bin/mkdir -p "/opt/etsf/lib"
> /bin/mkdir: cannot create directory `/opt/etsf': Permission denied
> make[2]: *** [install-libLIBRARIES] Error 1
> make[2]: Leaving directory `/usr/local/octopus-3.1.0/liboct_parser'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/usr/local/octopus-3.1.0/liboct_parser'
> make: *** [install-recursive] Error 1
> francesco at tya64:/usr/local/octopus-3.1.0$
>
> I was working, as user (not as superuser, although I have root
> privilege) in the directory specified in the last line above, made
> chown and chgrp to me. I skipped both etsf and sparskit, following
> your "The optional libraries (ETSF I/O and Sparskit) are not really
> needed in most cases, so you probably can skip compiling them". Does
> the above mean that etsf was comprised in the octopus metapackage and
> "make install" should be issued as superuser?
>

By default octopus is installed in /opt/etsf/ [1] and normally this 
location requires root access to install, this why your installation fails 
with permission denied. You can specify a different instalation path 
using the 
--prefix argument of configure (if you change this value do not forget to 
do a make clean as the location is hardcoded in the binary).

[1] This location is common for all software packages that are part of the 
ETSF (http://www.etsf.eu). ETSF I/O is a library provided by the ETSF for 
input/output.

>
> When the serial installation is OK, parallel compilation should be
> done above that? If so I'll first try if by chance the Intel-compiled
> OpenMPI is accepted. I expect NO after your words. As I can't renounce
> to the current installation of OpenMPI with Intel because it is in use
> for Intel-compiled AMBER, the easiest, to avoid interferences, would
> be probably to install MPICH(2). I remember vaguely to have met
> failure with MPICH2 and to have had no answer from the MPICH2 web
> site. Actually, I have an installation of MPICH2 with program DOT
> (received as static compilation) but it is not seen system-wide.
>

You can just install another version of OpenMPI compiled with gfortran, as 
long as you select a different path (and you use the right one) there 
shouldn't be any conflicts.

Cheers,

Xavier

PS: Please send all emails to the octopus-users mailing list (or at 
least with CC to the mailing list).


More information about the Octopus-users mailing list