Hi everyone,
I call a healpix subroutine---pix2ang_nest in a series code, It's OK.
But when I call this subroutine in a MPI code, it comes up with following error when I compile:
>==========================
undefined reference to `pix_tools_mp_pix2ang_nest_'
>==========================
I use mpif90(linked with ifort) to compile the file.
Do you have any solution?
Call healpix subroutine in MPI code
-
- Posts: 7
- Joined: July 25 2007
- Affiliation: The National Astronomical Observatories, Chinese Academy of Science
Re: Call healpix subroutine in MPI code
The error said "undefined " variables, so check where and in which file it is called or say used.Feng-Quan Wu wrote:Hi everyone,
I call a healpix subroutine---pix2ang_nest in a series code, It's OK.
But when I call this subroutine in a MPI code, it comes up with following error when I compile:
>==========================
undefined reference to `pix_tools_mp_pix2ang_nest_'
>==========================
I use mpif90(linked with ifort) to compile the file.
Do you have any solution?
To see it explicitly, use debug option while compiling your program.