Skip to content

Compiling the front branch #8

@tomchor

Description

@tomchor

Hi, everyone, I'm trying to compile the front branch on NCAR's Cheyenne cluster. The reason for that is that I'm trying to contribute on the code organization (I've talked to @johnryantaylor about it).
I was able to compile previous on this cluster successfully, but I haven't been able to compile the front branch specifically because it fails with the following error:

diablo_io.o periodic.o channel.o courant.o les.o \
duct.o cavity.o fft.o rand.o set_ics.o save_stats.o filter.o user_rhs.o \
mpi.o -L/glade/u/home/tomasc/opt/fftw-2.1.5/lib -lrfftw -lfftw hdf5.o 
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: les.o: in function `compute_strain_chan_':
/glade/work/tomasc/frontcomp/for/les.f:557: undefined reference to `ghost_csij2_mpi_'
Makefile:83: recipe for target 'diablo' failed
make: *** [diablo] Error 1

Which (I think) means that ghost_csij2_mpi is a function/subroutine that was called, but was never defined. And indeed if I try to find that function is the code, I can only find a call to it, but not it's definition:

frontcomp/for$ grep -i ghost_csi *.f
les.f:      call ghost_CSij2_mpi

Does anyone know what happened here?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions