[mpich-discuss] Mpich won't compile with gcc-5
Jan Wittke
wittke at geo.uni-koeln.de
Wed Feb 18 05:37:15 CST 2015
Yes this was the poroblem.
Now its compiling.
Thank you
Jan
On 18.02.2015 12:18, Balaji, Pavan wrote:
> 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
--
Jan Wittke
Geophysicist (M.Sc.)
Institute of Geophysics and Meteorology
University of Cologne
Email: wittke at geo.uni-koeln.de
Homepage: www.geomet.uni-koeln.de
Tel.: +49 (0)221 470 6132 / Room 310
_______________________________________________
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