Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] icc erroring when trying to use a directory as a source file (Catastrophic error: cannot open source file "paddress.c": is a directory )
From: Denis (denismpa_at_[hidden])
Date: 2011-07-12 03:23:22


Hello, buddies, i am trying to build openmpi with icc and it s not
working. I ve tried versions 1.4.3 and 1.4.2 the error is the same
but for different source files(directories)

I am using the latest icc version and have compiled same version of
openmpi with gnu before.
Is there any switch that need to be passed to icc in order to be able
to compile a directory as a source code as needed to build openmpi?

Mac-$ icc -DHAVE_CONFIG_H -I. -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include
-I../../../../opal/mca/paffinity/linux/plpa/src/libplpa
-DOMPI_PROFILING_DEFINES=1 -I../../../.. -D_REENTRANT -O3 -DNDEBUG
-finline-functions -fno-strict-aliasing -restrict -fvisibility=hidden
-MT paddress.lo -MD -MP -MF .deps/paddress.Tpo -c paddress.c
-fno-common -DPIC -o .libs/paddress.o
Catastrophic error: cannot open source file "paddress.c": is a directory

$ ls paddress.c
Makefile comm_call_errhandler.c file_c2f.c file_set_atomicity.c group_difference.c op_create.c status_set_elements.c type_set_name.c
Makefile.am comm_compare.c file_call_errhandler.c file_set_errhandler.c group_excl.c op_f2c.c test.c type_size.c
Makefile.in comm_connect.c file_close.c file_set_info.c group_f2c.c op_free.c test_cancelled.c type_struct.c
abort.c comm_create.c file_create_errhandler.c file_set_size.c group_free.c open_port.c testall.c type_ub.c
accumulate.c comm_create_errhandler.c file_delete.c file_set_view.c group_incl.c pack.c testany.c type_vector.c
add_error_class.c comm_create_keyval.c file_f2c.c

Thank you in advance!
Denis.