I'm afraid that optimized-common doesn't stand alone - it requires other modules as well. If you look at optimized-lustre, you'll see that we include cray-common, optimized-common, and gnu-common, and then add the lustre flags.
You need all three of those modules to build successfully. If you don't want lustre support, I suggest you copy the optimized-lustre platform file to make you own, and then just remove the lustre flags. On Jan 30, 2013, at 9:31 AM, Jure Pečar <pega...@nerv.eu.org> wrote: > On Wed, 30 Jan 2013 08:48:02 -0700 > Nathan Hjelm <hje...@lanl.gov> wrote: > >> Try configuring with >> --with-platform=contrib/platform/lanl/cray_xe6/optimized-nopanasas . That >> might work. If it doesn't try the optimized-lustre file from the same >> directory in trunk. >> > > I used optimized-common. That fails with: > > mca/btl/openib/.libs/libmca_btl_openib.a(btl_openib_xrc.o):(.data+0x0): > multiple definition of `ib_address_t_class' > mca/common/ofacm/.libs/libmca_common_ofacm_noinst.a(common_ofacm_xoob.o):(.data+0x0): > first defined here > > So I tried adding --enable-mca-static=btl:ugni,btl:self > --enable-contrib-no-build=libnbc,vt to configure and got this: > CCLD ompi_info > ../../../ompi/.libs/libmpi.so: undefined reference to `mca_common_sm_fini' > ../../../ompi/.libs/libmpi.so: undefined reference to > `ibv_free_device_list_compat' > ../../../ompi/.libs/libmpi.so: undefined reference to > `ibv_get_device_list_compat' > ../../../ompi/.libs/libmpi.so: undefined reference to > `ompi_common_ugni_ep_destroy' > ../../../ompi/.libs/libmpi.so: undefined reference to `mca_common_sm_init' > ../../../ompi/.libs/libmpi.so: undefined reference to > `ompi_common_ugni_module' > ../../../ompi/.libs/libmpi.so: undefined reference to > `ompi_common_ugni_endpoint_return' > ../../../ompi/.libs/libmpi.so: undefined reference to `ompi_common_ugni_fini' > ../../../ompi/.libs/libmpi.so: undefined reference to > `ompi_common_ugni_ep_create' > ../../../ompi/.libs/libmpi.so: undefined reference to `ompi_common_ugni_init' > ../../../ompi/.libs/libmpi.so: undefined reference to > `ompi_common_ugni_endpoint_for_proc' > > Help? > > > -- > > Jure Pečar > http://jure.pecar.org > http://f5j.eu > _______________________________________________ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel