[Octopus-users] octopus2.0.1 in itanium2
Alberto Castro
alberto.castro at tddft.org
Wed Feb 21 14:44:03 WET 2007
Hi, Manuel,
I am afraid you just hit a bug of our "stable" 2.0.1 release that can be
downloaded from the web page.
If you edit liboct/oct_f.c file, in function oct_gettimeofday, you will
see some lines:
#else
*sec = 0
*usec = 0
#endif
where there are obviously some semicolumns missing; it should be:
#else
*sec = 0;
*usec = 0;
#endif
Just edit those two lines, and it should compile (at least that file). Or
download 2.1.0rc1.
Cheers,
Alberto.
On Fri, 16 Feb 2007 fampl at usc.es wrote:
> Dear Octopus users,
>
> I'm trying to compile and install octopus2.0.1 in an itanium2
> computer. The operating system is UNIX (HP-UX 11iv2). The point is
> that I get the error posted below when I perform the compilation with
> make. The compiler is f90. Has anybody compiled octopus in this kind
> of computer?. Any suggestion is always welcome.
>
> Best Regards,
> Manuel.
>
> Result after running ./configure:
>
> checking for a BSD-compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking build system type... ia64-hp-hpux11.23
> checking host system type... ia64-hp-hpux11.23
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for a BSD-compatible install... ./install-sh -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... (cached) yes
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for function prototypes... yes
> checking whether setvbuf arguments are reversed... no
> checking for sqrt... no
> checking for strcasecmp... yes
> checking for strdup... yes
> checking for tcgetpgrp... yes
> checking for the size of a pointer... 4 bytes
> checking for f90... f90
> checking whether we are using the GNU Fortran compiler... no
> checking whether f90 accepts -g... yes
> checking for Fortran flag to compile .f90 files... none
> configure: Using FCFLAGS="-O"
> checking how to get verbose linking output from f90... -v
> checking for Fortran libraries of f90... -L/usr/lib/hpux32/
> -L/opt/langtools/lib/hpux32/ -l:libF90.a -l:libIO77.a -lm -lunwind -luca
> checking for dummy main to link with Fortran libraries... none
> checking for Fortran name-mangling scheme... lower case, underscore,
> no extra underscore
> checking for flush... no
> checking wether the compiler accepts very long lines... no
> **********************************************
> *** octopus will be generated using
> *** real wave functions + utilities
> **********************************************
> checking for sgemm in /opt/mlib/lib/hpux32/liblapack.a... yes
> checking for cheev in ... yes
> checking for gsl-config... /home/usc/fa/mpl/gsl1.8/bin/gsl-config
> checking for GSL - version >= 1.0... yes
> checking for dfftw_plan_dft_1d... no
> checking for dfftw_plan_dft_1d in -lfftw3... no
> configure: WARNING: Could not find fftw library.
> *** Will compile without fftw support
> configure: WARNING: ARPACK library not found. Will not use it
> configure: WARNING: SPARSKIT library not found. Will not use it
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating external_libs/Makefile
> config.status: creating external_libs/expokit/Makefile
> config.status: creating external_libs/metis-4.0/Makefile
> config.status: creating liboct_parser/Makefile
> config.status: creating liboct/Makefile
> config.status: creating libxc/Makefile
> config.status: creating src/Makefile
> config.status: creating doc/Makefile
> config.status: creating doc/pdf/Makefile
> config.status: creating doc/html/Makefile
> config.status: creating share/Makefile
> config.status: creating share/PP/Makefile
> config.status: creating share/PP/TM2/Makefile
> config.status: creating share/PP/HGH/Makefile
> config.status: creating share/recipes/Makefile
> config.status: creating share/recipes/en/Makefile
> config.status: creating share/recipes/es/Makefile
> config.status: creating share/recipes/it/Makefile
> config.status: creating share/util/Makefile
> config.status: creating share/samples/Makefile
> config.status: creating build/octopus.spec
> config.status: creating testsuite/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
>
>
>
>
> Error after running the command make:
>
>
> No suffix list.
> make all-recursive
> No suffix list.
> Making all in external_libs
> No suffix list.
> Making all in expokit
> Making all in metis-4.0
> No suffix list.
> Making all in liboct_parser
> rm -f liboct_parser.a
> ar cru liboct_parser.a symbols.o parse.o parse_exp.o
> string_f.o parser_f.o gsl_userdef.o
> ranlib liboct_parser.a
> Making all in liboct
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../liboct_parser
> -I../external_libs/metis-4.0/ -g -O2
> -I/home/usc/fa/mpl/gsl1.8/include -MT oct_f.o -MD -MP -MF
> ".deps/oct_f.Tpo" -c -o oct_f.o oct_f.c; \
> then mv -f ".deps/oct_f.Tpo" ".deps/oct_f.Po"; else rm -f
> ".deps/oct_f.Tpo"; exit 1; fi
> oct_f.c: In function `oct_gettimeofday_':
> oct_f.c:209: error: invalid operands to binary *
> oct_f.c:211: error: parse error before '}' token
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
>
>
> _______________________________________________
> Octopus-users mailing list
> Octopus-users at tddft.org
> http://www.tddft.org/mailman/listinfo/octopus-users
>
======================================================================
Dr. Alberto Castro
Institut fur Theoretisch Physik, Freie Universitat Berlin.
Arnimallee, 14, Berlin 14195 (Deutschland)
Tel: +49 030 83853028
Fax: +49 030 83855258
skype: alberto_c_barrigon
email: alberto at physik.fu-berlin.de
======================================================================
More information about the Octopus-users
mailing list