[mpich-discuss] Problem with SystemStubs under Mac OS X 10.7.5.
Dave Goodell
goodell at mcs.anl.gov
Sat Feb 23 12:57:43 CST 2013
Glad to hear you sorted it out.
Note that the newer install of MPICH put mpif90 in a different place because you specifically asked it to do so (with "--prefix=/Users/dougdommermuth/mpich2/mpich-install"). It should still be defaulting to "/usr/local" as the prefix in most cases when "--prefix=BLAH" is not specified.
-Dave
On Feb 23, 2013, at 12:41 PM CST, Douglas Dommermuth wrote:
> Hello Dave,
>
> It was a silly mistake on my part. I had an old mpif90 in /usr/local/bin/. The most recent release of mpich puts mpif90 in another area. I did not realize. I have been using mpich for so long, I did not realize the change. Thanks for pointing me in the right direction.
>
> Thank you, Doug.
>
> On Feb 23, 2013, at 10:31 AM, Douglas Dommermuth wrote:
>
>> Hello Dave,
>>
>> Did I correctly configure the build:
>>
>> ./configure --prefix=/Users/dougdommermuth/mpich2/mpich-install CC=/usr/bin/icc FC=/usr/bin/ifort | & tee c.txt
>>
>> When I look at the commands that you just sent me, it seems to be pointing to an older version of Fortran, whereas my logical links are as follows:
>>
>> [dgd]% ls -al /usr/bin/ifort
>> lrwxr-xr-x 1 root wheel 19 Feb 23 08:21 /usr/bin/ifort -> /usr/bin/ifort-13.0
>> [dgd]% ls -al /usr/bin/ifort-13.0
>> lrwxr-xr-x 1 root wheel 42 Feb 23 08:21 /usr/bin/ifort-13.0 -> /usr/bin/ifort-13.0-base/bin/intel64/ifort
>>
>> Thank you, Doug.
>>
>>
>> On Feb 23, 2013, at 10:13 AM, Dave Goodell wrote:
>>
>>> On Feb 23, 2013, at 11:52 AM CST, Douglas Dommermuth wrote:
>>>
>>>> I have attached the files that you requested (files.tar.gz). I could not find this file: mpich-3.0.2/src/pm/hydra/tools/topo/hwloc/hwloc/config.log. The output for compling pi3f90.f90 is below:
>>>>
>>>> mpif90 pi3f90.f90
>>>> ld: library not found for -lSystemStubs
>>>
>>> Did you upgrade to 10.7 (Lion) without reinstalling the Intel Fortran compiler? Most of the google hits I'm getting about this indicate that it can happen when:
>>>
>>> 1) you have an ifort version <12.1; or
>>>
>>> 2) you installed ifort, then upgraded from 10.6 (or earlier) to 10.7 (or later).
>>>
>>> Obviously, #1 does not appear to apply to you. So maybe #2 does?
>>>
>>> We do have some logic to add "-lSystemStubs" to the link line in certain circumstances, but your config.log file is showing that we are not doing that in your case:
>>>
>>> ----8<----
>>> pac_cv_prog_f77_and_c_stdio_libs=none
>>> […]
>>> pac_cv_prog_fc_and_c_stdio_libs=none
>>> ----8<----
>>>
>>> Further debug might be accomplished by inspecting the output of these two commands:
>>>
>>> ----8<----
>>> mpif90 -show pi3f90.f90
>>> mpif90 -v pi3f90.f90
>>> ----8<----
>>>
>>> The first will show the ifort command that MPICH intends to execute. The second will show the commands that the ifort compiler driver executes as it attempts to compile your program. This should show us which part of the stack is incorrectly adding "-lSystemStubs" to your link line. My guess is that it's your ifort install, based on the other information that you have sent so far.
>>>
>>> -Dave
>>>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list