MPI strtok_r () from /lib64/libc.so.6

MPI strtok_r () from /lib64/libc.so.6

Hello,

When I use intel mpi mpiexec (which /opt/intel/compilers_and_libraries_2017.7.259/linux/mpi/intel64/bin/mpiexec) with mpi compilervars.sh setup (/opt/intel/compilers_and_libraries_2017.7.259/linux/bin/compilervars.sh intel64) I get "Program received signal SIGSEGV", Segmentation fault from     0x00007f26188aff62 in strtok_r () from /lib64/libc.so.6.

The program is using hello world from test.c supplied with the intel install.

If I use mpich with test.c (compiled using intel mpicc -o test test.c )  I get no errors running the test program.

I have disabled the firewall, and by commenting code, I know the program crashes at MPI_Init (&argc, &argv); Looking online, I see comments indicating strtok_r () cannot handle NULL, but replacing argc and argv with values didn't help.

Can someone point me in the right direction?

I'm using compilers_and_libraries_2017.7.259 running on Suse Linux Enterprise Server 12 SP2.

 

 

 

 

 

1 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项