Page 1 of 1

Dalton 2015 installation in cygwin trouble

Posted: 01 Mar 2015, 12:42
by tamal_goswami
Dear all,

I am trying to install Dalton 2015 in cygwin. I am using the setup file for installation. While I am giving the make command I am facing the following error:

lib/libgen1int_interface.a(gen1int_shell.F90.o):gen1int_shell.F90:(.text+0xe20f): more undefined references to `mpi_bcast_' follow
collect2: error: ld returned 1 exit status
CMakeFiles/dalton.x.dir/build.make:82: recipe for target 'dalton.x.exe' failed
make[2]: *** [dalton.x.exe] Error 1
CMakeFiles/Makefile2:1092: recipe for target 'CMakeFiles/dalton.x.dir/all' failed
make[1]: *** [CMakeFiles/dalton.x.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

The full cygwin window is attached herewith for your kind reference.

Please help.

Tamal

Re: Dalton 2015 installation in cygwin trouble

Posted: 01 Mar 2015, 14:00
by hjaaj
Your setup command was
$ ./setup --fc=gfortran --cc=mpicc
I think that the mixed use of gfortran (sequential) and mpicc (parallel) fooled our cmake definitions. For sequential codes, try instead:

Code: Select all

./setup --fc=gfortran --cc=gcc --cxx=g++
For parallelized code, see the Dalton home page for examples of different types of installation.