[mpich-discuss] Mpich won't compile with gcc-5
Balaji, Pavan
balaji at anl.gov
Wed Feb 18 05:18:39 CST 2015
Did you check if gfortran-5 works for simple Fortran programs? It looks like it doesn't.
configure:38446: ./conftest
./conftest: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
configure:38446: $? = 127
configure: program exited with status 127
configure: failed program was:
|
|
| program main
| real a(2)
| integer irc, cisize
| irc = cisize(a(1),a(2))
| end
-- Pavan
> On Feb 18, 2015, at 4:56 AM, Jan Wittke <wittke at geo.uni-koeln.de> wrote:
>
> Yes,
>
> here.
>
> Thank you
> Jan
>
>
> On 18.02.2015 11:52, Balaji, Pavan wrote:
>> Can you send the config.log file?
>>
>> -- Pavan
>>
>>> On Feb 18, 2015, at 4:28 AM, Jan Wittke <wittke at geo.uni-koeln.de> wrote:
>>>
>>> Yes,
>>>
>>> I only want to use gfortran-5.
>>>
>>> Regards,
>>> Jan
>>>
>>>
>>> On 18.02.2015 11:26, Balaji, Pavan wrote:
>>>> Are you using gfortran-5 as well? That seems to be giving an issue. If you don't need fortran, you can disable it by passing --disable-fortran to configure.
>>>>
>>>> -- Pavan
>>>>
>>>>> On Feb 18, 2015, at 4:14 AM, Jan Wittke <wittke at geo.uni-koeln.de> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> after installing gcc-5-20150208 from source with
>>>>>
>>>>> /opt/gcc-5-20150208/configure --program-suffix=-5 --prefix=/usr/local --enable-languages=c,c++,fortran --disable-multilib
>>>>>
>>>>> I am not able to run the mpich ./configure script properly.
>>>>> Doing:
>>>>>
>>>>> CC=/usr/local/bin/gcc-5 FC=/usr/local/bin/gfortran-5 ./configure --enable-threads
>>>>>
>>>>> in the mpich-3.2a2 directory I got the error:
>>>>>
>>>>> configure: error: Unable to configure with Fortran support because configure could not determine the size of a Fortran INTEGER. Consider setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran INTEGER
>>>>>
>>>>> Is there any fix around ?
>>>>>
>>>>> Thank you,
>>>>> Jan
>>>>>
>>>>>
>
> <config.log>_______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
--
Pavan Balaji ✉️
http://www.mcs.anl.gov/~balaji
_______________________________________________
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