Skip to content

is 'mpi_bloom.h' mandatory and included? #129

@dbrami

Description

@dbrami

I am trying to compile for multi-cpu support using openmpi.
Here is my command and the result:

dbrami@asm05.c01:/sgi/asmopt/src/facs/facs
cmd-> make mpi
Make sure you have MPI support on your cluster hint: module load openmpi
#mpicc -c *.c -O3 -Wall -g -DNODEBUG -fopenmp -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE -lm -lz
#mpicc -c mpi_decon.c -O3 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE 
#mpicc -o mpi_decon mpi_decon.o bloom.o suggestions.o lookup3.o  -lm -O3 -Wall -g -DNODEBUG -fopenmp -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE
mpicc -c mpi_bloom.c -O3 -Wall -g -DNODEBUG -fopenmp -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE
mpi_bloom.c:25:23: error: mpi_bloom.h: No such file or directory
mpi_bloom.c:49: warning: return type defaults to ‘int’
mpi_bloom.c: In function ‘main’:
mpi_bloom.c:138: warning: implicit declaration of function ‘struc_init’
mpi_bloom.c:139: warning: implicit declaration of function ‘make_list’
mpi_bloom.c:139: warning: initialization makes pointer from integer without a cast
mpi_bloom.c:153: warning: implicit declaration of function ‘gz_mpi’
mpi_bloom.c:166: warning: ignoring #pragma omp task
mpi_bloom.c:183: warning: implicit declaration of function ‘gather’
mpi_bloom.c:186: error: too few arguments to function ‘report’
mpi_bloom.c:58: warning: unused variable ‘exit_sign’
mpi_bloom.c: At top level:
mpi_bloom.c:194: error: conflicting types for ‘struc_init’
mpi_bloom.c:138: error: previous implicit declaration of ‘struc_init’ was here
mpi_bloom.c:251: error: conflicting types for ‘gz_mpi’
mpi_bloom.c:153: error: previous implicit declaration of ‘gz_mpi’ was here
make: *** [mpi] Error 1

It seems to be complaining about a missing file 'mpi_bloom.h' that is not included in source nor in the repository.
Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions