Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] Compilation problems of OpenMPI 1.3.3 with Snow Leopard
From: Hakime Seddik (hakime_at_[hidden])
Date: 2009-10-08 02:17:40


Hi,

I am having problems to compile the latest release of OpenMPI on Snow
Leopard (Mac OS 10.6). I have installed the latest gfortran compiler
(which can be found here: http://hpc.sourceforge.net/) and when trying
to compile OpenMPI 1.3.3, i get some linking issues:

Making all in tools/wrappers
depbase=`echo opal_wrapper.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc "-DEXEEXT=\"\"" -I. -I../../../opal/include -I../../../orte/
include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/
plpa/src/libplpa -I../../.. -D_REENTRANT -DNDEBUG -O5 -ftree-
vectorize -finline-functions -fno-strict-aliasing -fvisibility=hidden
-MT opal_wrapper.o -MD -MP -MF $depbase.Tpo -c -o opal_wrapper.o
opal_wrapper.c &&\
        mv -f $depbase.Tpo $depbase.Po
cc1: note: -ftree-vectorize enables strict aliasing. -fno-strict-
aliasing is ignored when Auto Vectorization is used.
/bin/sh ../../../libtool --tag=CC --mode=link gcc -DNDEBUG -O5 -
ftree-vectorize -finline-functions -fno-strict-aliasing -
fvisibility=hidden -export-dynamic -o opal_wrapper
opal_wrapper.o ../../../opal/libopen-pal.la -lutil
libtool: link: gcc -DNDEBUG -O5 -ftree-vectorize -finline-functions -
fno-strict-aliasing -fvisibility=hidden -o .libs/opal_wrapper
opal_wrapper.o ../../../opal/.libs/libopen-pal.dylib -lutil
Undefined symbols:
   "_opal_few", referenced from:
       _main in opal_wrapper.o
   "_opal_os_path", referenced from:
       _add_extra_includes in opal_wrapper.o
       _main in opal_wrapper.o
   "_opal_argv_insert", referenced from:
       _options_data_expand in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
   "_opal_argv_count", referenced from:
       _add_extra_includes in opal_wrapper.o
       _options_data_expand in opal_wrapper.o
       _find_options_index in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
   "_opal_basename", referenced from:
       _main in opal_wrapper.o
   "_opal_install_dirs_expand", referenced from:
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
   "_opal_argv_append_nosize", referenced from:
       _add_extra_includes in opal_wrapper.o
       _main in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
   "_opal_argv_split", referenced from:
       _add_extra_includes in opal_wrapper.o
       _options_data_expand in opal_wrapper.o
       _load_env_data_argv in opal_wrapper.o
       _main in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
   "_opal_argv_delete", referenced from:
       _main in opal_wrapper.o
       _main in opal_wrapper.o
   "_opal_argv_free", referenced from:
       _options_data_expand in opal_wrapper.o
       _load_env_data_argv in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _data_callback in opal_wrapper.o
       _data_callback in opal_wrapper.o
   "_opal_argv_copy", referenced from:
       _main in opal_wrapper.o
   "_opal_finalize_util", referenced from:
       _main in opal_wrapper.o
   "_opal_show_help", referenced from:
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
   "_opal_util_keyval_parse", referenced from:
       _main in opal_wrapper.o
   "_opal_install_dirs", referenced from:
       _main in opal_wrapper.o
   "_opal_init_util", referenced from:
       _main in opal_wrapper.o
   "_opal_path_findv", referenced from:
       _main in opal_wrapper.o
   "_opal_strerror", referenced from:
       _main in opal_wrapper.o
   "_opal_argv_join", referenced from:
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
       _main in opal_wrapper.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [opal_wrapper] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

The same problem appears when trying to compile OpenMPI 1.3.2.

Did someone have the same problem? Is there a fix for that?

Thanks in advance for the help,

Regards,

Hakime Seddik
Glacier and Ice Sheet Research Group
Tel:+81-(0)90-6263-4074
email: hakime_at_[hidden]

Institute of Low Temperature Science
Hokkaido University, Kita-19, Nishi-8, Kita-ku
Sapporo 060-0819. Japan