sebhtml / ray

Ray -- Parallel genome assemblies for parallel DNA sequencing
http://denovoassembler.sf.net
Other
65 stars 12 forks source link

[RayPlatform/actors/Actor.o] Error 1 #217

Closed guyleonard closed 10 years ago

guyleonard commented 10 years ago

I get this error on compilation of v2.3.0

RayPlatform/actors/Actor.cpp: In member function ‘void Actor::send(int, Message)’: RayPlatform/actors/Actor.cpp:54:52: error: ‘memcpy’ was not declared in this scope make[1]: ** [RayPlatform/actors/Actor.o] Error 1 make[1]: Leaving directory `/home/programs/Ray-2.3.0/RayPlatform' make: *\ [RayPlatform/libRayPlatform.a] Error 2

Machine is: Linux 3.2.0-53-generic #81-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

However, I can compile if I edit Actor.ccp to include "#include " Ray 2.2.0 compiles without issue. Standard compile as in Install.txt

But then I received another error - not sure if it is related - where Ray 2.2.0 assembles fine.

Rank 0 : VirtualCommunicator (service provided by VirtualCommunicator): 0 virtual messages generated 0 real messages (0%) Rank 0 freed 759169024 bytes from the path memory pool (chunks: 181) Fatal error in PMPI_Isend: Invalid rank, error stack: PMPI_Isend(148): MPI_Isend(buf=0x7fdc953b8b50, count=8, MPI_BYTE, dest=1, tag=224, MPI_COMM_WORLD, request=0x201be10) failed PMPI_Isend(95).: Invalid rank has value 1 but must be nonnegative and less than 1

Standard Ray command call: mpiexec -n 1 Ray \ -k \ 31 \ -i \ ../../data/illumina/unmodified/s_1_interleaved.fastq \ -o \ ray_k31_khmer_illumina \

sebhtml commented 10 years ago

On 13/11/13 01:31 PM, Guy Leonard wrote:

I get this error on compilation of v2.3.0

RayPlatform/actors/Actor.cpp: In member function ‘void Actor::send(int, Message)’: RayPlatform/actors/Actor.cpp:54:52: error: ‘memcpy’ was not declared in this scope make[1]: ** [RayPlatform/actors/Actor.o] Error 1 make[1]: Leaving directory `/home/programs/Ray-2.3.0/RayPlatform' make: *\ [RayPlatform/libRayPlatform.a] Error 2

Hi,

The patch contributed by Rob Egan fixed this in the development repository.

Are you using the Intel compiler or the GNU compiler ?

Machine is: Linux 3.2.0-53-generic #81 https://github.com/sebhtml/ray/issues/81-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

However, I can compile if I edit Actor.ccp to include "#include " Ray 2.2.0 compiles without issue. Standard compile as in Install.txt

But then I received another error - not sure if it is related - where Ray 2.2.0 assembles fine.

Rank 0 : VirtualCommunicator (service provided by VirtualCommunicator): 0 virtual messages generated 0 real messages (0%) Rank 0 freed 759169024 bytes from the path memory pool (chunks: 181) Fatal error in PMPI_Isend: Invalid rank, error stack: PMPI_Isend(148): MPI_Isend(buf=0x7fdc953b8b50, count=8, MPI_BYTE, dest=1, tag=224, MPI_COMM_WORLD, request=0x201be10) failed PMPI_Isend(95).: Invalid rank has value 1 but must be nonnegative and less than 1

Standard Ray command call: mpiexec -n 1 Ray \ -k \ 31 \ -i \ ../../data/illumina/unmodified/s_1_interleaved.fastq \ -o \ ray_k31_khmer_illumina \

I saw another thread saying that Ray 2.3.0 has issues with 1 and 2 MPI ranks, but that more is OK. Maybe this is related.

— Reply to this email directly or view it on GitHub https://github.com/sebhtml/ray/issues/217.

sebhtml commented 10 years ago

This compilation error was fixed by Rob.