Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation failed #631

Closed
kbai opened this issue Sep 22, 2015 · 8 comments
Closed

compilation failed #631

kbai opened this issue Sep 22, 2015 · 8 comments

Comments

@kbai
Copy link
Contributor

kbai commented Sep 22, 2015

src/specfem3D/integrals_on_whole_domain.f90(31): error #5508: Declaration of routine 'SURFACE_OR_VOLUME_INTEGRAL_ON_WHOLE_DOMAIN' conflicts with a previous declaration

I am using mpiifort/ifort compiler.

@komatits
Copy link
Contributor

Hi Clément,

Coming from your new KH integrals maybe? Please doublecheck.

Thanks,
Dimitri.

On 09/22/2015 10:18 PM, Kangchen Bai wrote:

src/specfem3D/integrals_on_whole_domain.f90(31): error #5508:
Declaration of routine 'SURFACE_OR_VOLUME_INTEGRAL_ON_WHOLE_DOMAIN'
conflicts with a previous declaration

I am using mpiifort/ifort compiler.


Reply to this email directly or view it on GitHub
#631.

Dimitri Komatitsch
CNRS Research Director (DR CNRS), Laboratory of Mechanics and Acoustics,
UPR 7051, Marseille, France http://komatitsch.free.fr

@durochat
Copy link
Contributor

I don't have any problem of compilation on my side, and this changes passed the buildbot, with ifort and ifort mpi. Can you compile it with debug mode to have more information of the compilation error please ?

@komatits
Copy link
Contributor

It is probably SURFACE_OR_VOLUME_INTEGRAL_ON_WHOLE_DOMAIN that is
declared in a module and then declared again in
src/specfem3D/integrals_on_whole_domain.f90

Dimitri

On 09/23/2015 02:32 PM, Clément Durochat wrote:

I don't have any problem of compilation on my side, and this changes
passed the buildbot, with ifort and ifort mpi. Can you compile it with
debug mode to have more information of the compilation error please ?


Reply to this email directly or view it on GitHub
#631 (comment).

Dimitri Komatitsch
CNRS Research Director (DR CNRS), Laboratory of Mechanics and Acoustics,
UPR 7051, Marseille, France http://komatitsch.free.fr

@durochat
Copy link
Contributor

In which module did you see that ? I never put this routine in a module, and with grep I don't see it in any module... ?

@durochat
Copy link
Contributor

There is just a constant in constants.h.in, called "Surf_or_vol_integral", but the problem can't came from here.

@durochat
Copy link
Contributor

Are you sure that your last git pull was ok ?

@luet
Copy link
Contributor

luet commented Sep 23, 2015

Do you have the same problem with mpif90 instead of mpiifort?
What version of the Intel compiler are you using?
Can you send us the output of:
$ mpiifort -v
$ ifort -v

Thanks,
David

On Wed, Sep 23, 2015 at 9:04 AM, Clément Durochat notifications@github.com
wrote:

Are you sure that your last gi pull was ok ?


Reply to this email directly or view it on GitHub
#631 (comment)
.

David Luet
Linux Administrator/Software & Programming Analyst
Department of Geosciences & PICSciE
Princeton University

@luet
Copy link
Contributor

luet commented Sep 23, 2015

It seems to work for me. Here is what I have:

$ mpiifort -v
mpiifort for the Intel(R) MPI Library 5.0 Update 3 for Linux*
Copyright(C) 2003-2015, Intel Corporation.  All rights reserved.
ifort version 14.0.0

And here is what I do:

$ git clone --branch=devel git@github.com:geodynamics/specfem3d.git
$ cd specfem3d
$ git show
  commit 29bac00b65cbe0aff8d2259fee05d9133070f83c
  ....
$ git submodule init
$ git submodule update
$ aclocal -I m4
$ autoconf -I m4
$ ./configure FC=ifort CC=icc MPIFC=mpiifort MPICC=mpiicpc --with-mpi
$ make -j 8

Can you do the exact same steps and send us the output?
Thanks,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants