If it works with static builds and not dynamic, it might be worth reporting a 
problem on the Intel fortran compiler forums and see if this is a known problem.


On Dec 18, 2014, at 10:29 AM, Jörg Stiller <joerg.stil...@tu-dresden.de> wrote:

> Hi Jeff,
> 
> with OS X I use ifort 15.0.1 20141022, which is the latest version, as far I 
> know.
> 
> I managed to get open-mpi 1.8.3 built properly when switching to static libs, 
> i.e.
> 
>> ./configure --prefix=/opt/openmpi-intel-static --disable-shared 
>> --enable-static \
>    F77=/opt/intel/composerxe/bin/ifort \
>    FC=/opt/intel/composerxe/bin/ifort
> 
> BTW, I found no problems when using the current ifort with shared libs under 
> Linux.
> 
> I also compared the makefiles dealing with mpi_f08_types configured for ifort 
> with those for gcc/gfortran 4.9.2, but I could not identify any differencs 
> that might be responsible for the problem observed with OS X.
> 
> If you have any hint what to try or look for, please let me know. In the 
> meantime I am fine with the static libs.
> 
> Regards,
> Jorg
> 
> 
> Am 18.12.2014 um 01:30 schrieb Jeff Squyres (jsquyres) <jsquy...@cisco.com>:
> 
>> Jorg --
>> 
>> I'm sorry for the giant delay in replying; the US holiday and the MPI Forum 
>> meeting last week made a disaster out of my already-out-of-control INBOX.  
>> :-(
>> 
>> Hmm.  This almost sounds like a bug in the intel compiler.  Do you have the 
>> latest version of their compiler, perchance?
>> 
>> 
>> On Dec 1, 2014, at 2:40 PM, Jörg Stiller <joerg.stil...@tu-dresden.de> wrote:
>> 
>>> Hi,
>>> 
>>> I am using the Open MPI 1.8.3 with gcc 4.9.2 and ifort 15.0.1 and the 
>>> MPI_F08 module on Mac OS X 4.9.
>>> With the latter, the == and /= operators are overloaded for MPI handles , 
>>> e.g.
>>> 
>>>  MPI_REQUEST_NULL /= MPI_REQUEST_NULL
>>> 
>>> should work and give the result .false. With gfortran 4.9.2 all is fine, 
>>> however, with ifort, the loader produces an error message like this:
>>> 
>>> Undefined symbols for architecture x86_64:
>>> "_mpi_f08_types_mp_ompi_request_op_ne_", referenced from:
>>>     _verifymeshintegrity_IP_verifysharedcomponents_ in libhispeet.a 
>>> 
>>> When I looking in the gfortran-version of the dynamic library I get
>>> 
>>> $ nm libmpi_usempif08.dylib |grep -i request
>>> 0000000000010aa2 T ___mpi_f08_types_MOD_ompi_request_op_eq
>>> 0000000000010912 T ___mpi_f08_types_MOD_ompi_request_op_ne
>>> [snip]
>>> 
>>> These are the module procedures which implement the overloaded operators.
>>> In the ifort-version of the dynamic library are no such  entries, though 
>>> the directory contains the module file, mpi_f08_types.mod, which defines 
>>> the interfaces.
>>> 
>>> Both versions were configured build with rather standard configuration:
>>> 
>>> ./configure --prefix=/opt/openmpi-gcc F77=gfortran-mp-4.9 FC=gfortran-mp-4.9
>>> 
>>> and
>>> 
>>> ./configure --prefix=/opt/openmpi-intel F77=/opt/intel/composerxe/bin/ifort 
>>> FC=/opt/intel/composerxe/bin/ifort
>>> 
>>> I seems to be an error when building thr Open MPI librraies for ifort, but 
>>> so far I have no clue how to fix.
>>> 
>>> Thanks  for any helpful comments.
>>> Joerg
>>> 
>>> --
>>> PD Dr.-Ing. habil. Jörg Stiller
>>> Privatdozent / senior lecturer
>>> 
>>> Technische Universität Dresden
>>> Institut für Strömungsmechanik
>>> 01062 Dresden / GERMANY
>>> Tel.: +49 351 463/38328
>>> Fax: +49 351 463/38087
>>> E-Mail:  joerg.stil...@tu-dresden.de
>>> http://tu-dresden.de/Members/joerg.stiller
>>> 
>>> _______________________________________________
>>> users mailing list
>>> us...@open-mpi.org
>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>>> Link to this post: 
>>> http://www.open-mpi.org/community/lists/users/2014/12/25898.php
>> 
>> 
>> -- 
>> Jeff Squyres
>> jsquy...@cisco.com
>> For corporate legal information go to: 
>> http://www.cisco.com/web/about/doing_business/legal/cri/
>> 
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post: 
>> http://www.open-mpi.org/community/lists/users/2014/12/26020.php
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/12/26033.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to