[Octopus-users] Installation of Octopus-4.1.2

Xavier Andrade xavier at tddft.org
Mon Oct 27 16:57:40 WET 2014


Hi,

You might want to try FCCPP="/lib/cpp -ansi -C -ffree-standing" as well.

Xavier

On Mon, Oct 27, 2014 at 9:37 AM, David Strubbe <dstrubbe at mit.edu> wrote:
> Yes those packages are optional.
>
> Are you sure you used FCCPP="/lib/cpp -ansi" on the configure line, as
> stated in the manual
> (http://www.tddft.org/programs/octopus/wiki/index.php/Manual:Specific_architectures#Generic_Ubuntu_10.10)?
> This problem has frequently been reported when that was not specified.
>
> David
>
> On Mon, Oct 27, 2014 at 12:21 PM, Conrad Schuster <Conrad.Schuster at gmx.de>
> wrote:
>>
>> Dear Octopus users,
>>
>> I want to learn how to use Octopus-4.1.2 and have some problems with the
>> installation. I am using Ubuntu 14.04 and the required packages from the
>> installation manual for Ubuntu 10.10 are installed in their default path
>> (gfortran, gcc, make, automake, m4, libtool, libgsl0-dev, libblas-ddev,
>> liblapack-dev, libfftw3-dev and libxc).
>>
>> ‘./ configure‘ runs smoothly but the warnings that etsf_io, BerkeleyGW,
>> Libfm and PFFT could not be found. As './configure’ does not stop or
>> produces an error, what can happen when other packages are missing, I assume
>> these are optional?
>>
>> ‘make’ produces the following error:
>>
>>>>
>> /* Copyright (C) 1991-2014 Free Software Foundation, Inc.
>>  1
>> Error: Invalid character in name at (1)
>> /usr/include/stdc-predef.h:2.3:
>>     Included at c_pointer.F90:1:
>>
>>    This file is part of the GNU C Library.
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:4.3:
>>     Included at c_pointer.F90:1:
>>
>>    The GNU C Library is free software; you can redistribute it and/or
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:4.39:
>>     Included at c_pointer.F90:1:
>>
>>    The GNU C Library is free software; you can redistribute it and/or
>>                                        1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:5.3:
>>     Included at c_pointer.F90:1:
>>
>>    modify it under the terms of the GNU Lesser General Public
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:6.3:
>>     Included at c_pointer.F90:1:
>>
>>    License as published by the Free Software Foundation; either
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:6.57:
>>     Included at c_pointer.F90:1:
>>
>>    License as published by the Free Software Foundation; either
>>                                                          1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:7.3:
>>     Included at c_pointer.F90:1:
>>
>>    version 2.1 of the License, or (at your option) any later version.
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:9.3:
>>     Included at c_pointer.F90:1:
>>
>>    The GNU C Library is distributed in the hope that it will be useful,
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:10.3:
>>     Included at c_pointer.F90:1:
>>
>>    but WITHOUT ANY WARRANTY; without even the implied warranty of
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:10.29:
>>     Included at c_pointer.F90:1:
>>
>>    but WITHOUT ANY WARRANTY; without even the implied warranty of
>>                              1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:11.3:
>>     Included at c_pointer.F90:1:
>>
>>    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:12.3:
>>     Included at c_pointer.F90:1:
>>
>>    Lesser General Public License for more details.
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:14.3:
>>     Included at c_pointer.F90:1:
>>
>>    You should have received a copy of the GNU Lesser General Public
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:15.3:
>>     Included at c_pointer.F90:1:
>>
>>    License along with the GNU C Library; if not, see
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:15.41:
>>     Included at c_pointer.F90:1:
>>
>>    License along with the GNU C Library; if not, see
>>                                          1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:16.4:
>>     Included at c_pointer.F90:1:
>>
>>    <http://www.gnu.org/licenses/>.  */
>>     1
>> Error: Invalid character in name at (1)
>> /usr/include/stdc-predef.h:21.1:
>>     Included at c_pointer.F90:1:
>>
>> /* This header is separate from features.h so that the compiler can
>>  1
>> Error: Invalid character in name at (1)
>> /usr/include/stdc-predef.h:22.3:
>>     Included at c_pointer.F90:1:
>>
>>    include it implicitly at the start of every compilation.  It must
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:23.3:
>>     Included at c_pointer.F90:1:
>>
>>    not itself include <features.h> or any other header that includes
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:24.4:
>>     Included at c_pointer.F90:1:
>>
>>    <features.h> because the implicit include comes before any feature
>>     1
>> Error: Invalid character in name at (1)
>> /usr/include/stdc-predef.h:25.3:
>>     Included at c_pointer.F90:1:
>>
>>    test macros that may be defined in a source file before it first
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:26.3:
>>     Included at c_pointer.F90:1:
>>
>>    explicitly includes a system header.  GCC knows the name of this
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:27.3:
>>     Included at c_pointer.F90:1:
>>
>>    header in order to preinclude it.  */
>>    1
>> Error: Unclassifiable statement at (1)
>> /usr/include/stdc-predef.h:29.1:
>>     Included at c_pointer.F90:1:
>>
>> /* glibc's intent is to support the IEC 559 math functionality, real
>>  1
>> Error: Invalid character in name at (1)
>> Fatal Error: Error count reached limit of 25.
>> make[3]: *** [c_pointer.o] Error 1
>> make[3]: Leaving directory `/opt/octopus-4.1.2/src/basic'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/opt/octopus-4.1.2/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/opt/octopus-4.1.2'
>> make: *** [all] Error 2
>>
>>
>>
>> Does anyone has an idea how to fix this problem?
>>
>> Thank you for reading
>>
>> Conrad
>> _______________________________________________
>> Octopus-users mailing list
>> Octopus-users at tddft.org
>> http://www.tddft.org/cgi-bin/mailman/listinfo/octopus-users
>
>
>
> _______________________________________________
> Octopus-users mailing list
> Octopus-users at tddft.org
> http://www.tddft.org/cgi-bin/mailman/listinfo/octopus-users
>


More information about the Octopus-users mailing list