[mpich-discuss] Re: Getting MPICH2 to find/use g95 fortran

PattiMichelle miche1 at earthlink.net
Wed Apr 9 16:49:07 CDT 2008


Pavan:

Thank you very much for offering to look at the output of my install... 
I had a look in the configure.in file and saw references to g95, so I
assume it will be looking for it.   Please find the logfiles (with
slightly different names) attached and let me know if you are unable to
receive them!

Thank You,
Patti

Pavan Balaji wrote:
>
> It looks like configure failed. Can you send the complete configure
> output? If you are using bash, you can do:
>
>   $ ./configure --prefix=/usr/local/mpich2/mpich2-install 2>&1 | tee
> configure.log
>
>   $ make 2>&1 | tee make.log
>
>   $ make install 2>&1 | tee make_install.log
>
> If you are using a different shell, you can refer to the README in the
> top-level directory.
>
>  -- Pavan
>
> On 04/09/2008 12:18 AM, PattiMichelle wrote:
>> Thank you again, Pavan.  Ah!  I see - the F90 and F77 were inputs to
>> the configure script.  Well, it seemed to go well, but the system
>> cannot find mpif77 or mpif90 - I also tried searching the file system
>> but no luck.
>>
>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
>> F90=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
>> F77=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
>> ./configure --prefix=/usr/local/mpich2/mpich2-install >
>> Configure_MPICH2stdio.txt
>> configure: WARNING: Structures containing long doubles may be aligned
>> differently from structures with floats or longs.  MPICH2 does not
>> handle this case automatically and you should avoid assumed extents
>> for structures containing float types.
>> configure: error: Fortran integers and C ints are not the same size. 
>> The current Fortran binding does not support this case.  Either force
>> the Fortran compiler to use integers of 4 bytes, or use --disable-f77
>> on the configure line for MPICH2.
>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # make >
>> Make_MPICH2stdio.txt
>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # make install >
>> MakeInst_MPICH2stdio.txt
>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # mpif77
>> bash: mpif77: command not found
>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # mpif90
>> bash: mpif90: command not found
>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
>>
>> This output from make install:
>> /usr/bin/install -c -m 644 mpicc.conf
>> /usr/local/mpich2/mpich2-install/etc/mpicc.conf
>> if [ -s mpicxx ] ; then /usr/bin/install -c  mpicxx
>> /usr/local/mpich2/mpich2-install/bin/mpicxx ; fi
>> if [ -s mpif77 ] ; then /usr/bin/install -c  mpif77
>> /usr/local/mpich2/mpich2-install/bin/mpif77 ; fi
>> if [ -s mpif90 ] ; then /usr/bin/install -c  mpif90
>> /usr/local/mpich2/mpich2-install/bin/mpif90 ; fi
>> if [ -s mpicxx.conf ] ; then /usr/bin/install -c -m 644 mpicxx.conf
>> /usr/local/mpich2/mpich2-install/etc/mpicxx.conf ; fi
>> if [ -s mpif77.conf ] ; then /usr/bin/install -c -m 644 mpif77.conf
>> /usr/local/mpich2/mpich2-install/etc/mpif77.conf ; fi
>> if [ -s mpif90.conf ] ; then /usr/bin/install -c -m 644 mpif90.conf
>> /usr/local/mpich2/mpich2-install/etc/mpif90.conf ; fi
>>
>> ...which I believe is supposed to put mpif77 in the
>> /usr/local/mpich2/mpich2-install/bin directory, but I don't see it
>> there.
>>
>>
>> Pavan Balaji wrote:
>>>
>>>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # alias f77=g95
>>>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # alias f90=g95
>>>
>>> You don't need to set these.
>>>
>>>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
>>>> F90=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
>>>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
>>>> F77=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
>>>
>>> These should be on the same command line as the configure.
>>>
>>>> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # ./configure
>>>> --prefix=/usr/local/mpich2/mpich2-install > Configure_MPICH2stdio.txt
>>>
>>> Use the following command line:
>>>
>>>   $ F90=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
>>> F77=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
>>> ./configure --prefix=/usr/local/mpich2/mpich2-install
>>>
>>>  -- Pavan
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080409/3f70ea59/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_stdio.log
Type: text/x-log
Size: 9710 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080409/3f70ea59/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_install.log
Type: text/x-log
Size: 104992 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080409/3f70ea59/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_stdio.log
Type: text/x-log
Size: 13992 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080409/3f70ea59/attachment-0002.bin>


More information about the mpich-discuss mailing list