Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [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: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-07-12 10:36:36

I can't quite parse your output.

paddress.c should be a sym link in ompi/mpi/c/profile back to ompi/mpi/c/address.c. I'm not sure why "ls paddress.c" shows a whole directory of files...?

You might want to whack your OMPI source tree, re-expand the tarball, and try again. If it still fails, please send all the output listed here:

On Jul 12, 2011, at 3:23 AM, Denis wrote:

> 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
> -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
> comm_compare.c file_call_errhandler.c file_set_errhandler.c group_excl.c op_f2c.c test.c type_size.c
> 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.
> _______________________________________________
> users mailing list
> users_at_[hidden]

Jeff Squyres
For corporate legal information go to: