[mpich-discuss] configuration issues: complex.h and CROSS_F77_SIZEOF_INTEGER

Junchao Zhang jczhang at mcs.anl.gov
Thu Apr 9 17:25:53 CDT 2015


Lou,
  I looked at your config.log.  You passed CC=/opt/solarisstudio12.4/bin/CC
to configure, which is wrong. You should use
CC=/opt/solarisstudio12.4/bin/cc. If you want C++,  just use CXX=...


--Junchao Zhang

On Thu, Apr 9, 2015 at 9:12 AM, Junchao Zhang <jczhang at mcs.anl.gov> wrote:

> I happened to build MPICH with SolarisStudio12.4 for Linux a couple of
> days ago.
> Could you send config.log of your build?
>
> --Junchao Zhang
>
> On Wed, Apr 8, 2015 at 10:51 PM, Lou Cetinich <loucetinich at gmail.com>
> wrote:
>
>> I *only* need Fortran.
>>
>> (In fact, apart from exhaustive testing, and the endpoint target of a
>> production build), I’d otherwise be happy to disable *everything else*…
>> (!)
>>
>> Lou
>>
>>
>> On Apr 8, 2015, at 11:47 PM, Thakur, Rajeev <thakur at mcs.anl.gov> wrote:
>>
>> If you don't need to use Fortran, you can configure with
>> --disable-fortran.
>>
>> Rajeev
>>
>> On Apr 8, 2015, at 10:36 PM, Lou Picciano <loupicciano at comcast.net>
>> wrote:
>>
>> Attempting to configure mpich-3.2b1 for the SolarisStudio12.4 suite...
>>
>> Issues around complex.h (Yes, I'll have to look for prerequisites)
>>
>> and the message about FORTRAN integer length - which seems to have been
>> dealt with a couple of years ago, and only in the ifort context?
>>
>> CROSS_F77_SIZEOF_INTEGER seems to be ignored; I've tried all of 1,2,4,8...
>>
>> Many thanks!
>>
>> checking complex.h presence... yes
>> configure: WARNING: complex.h: present but cannot be compiled
>> configure: WARNING: complex.h:     check for missing prerequisite headers?
>> configure: WARNING: complex.h: see the Autoconf documentation
>> configure: WARNING: complex.h:     section "Present But Cannot Be
>> Compiled"
>> configure: WARNING: complex.h: proceeding with the compiler's result
>> configure: WARNING:     ## -------------------------------- ##
>> configure: WARNING:     ## Report this to discuss at mpich.org ##
>> configure: WARNING:     ## -------------------------------- ##
>> checking for complex.h... no
>> checking size of _Bool... 0
>> checking size of float _Complex... 0
>> checking size of double _Complex... 0
>> checking size of long double _Complex... 0
>> checking for _Bool... no
>> checking for float _Complex... no
>> checking for double _Complex... no
>> checking for long double _Complex... no
>> checking for size of Fortran type integer... 0
>> checking for size of Fortran type real... 0
>> checking for size of Fortran type double precision... 0
>> checking whether integer*1 is supported... yes
>> checking whether integer*2 is supported... yes
>> checking whether integer*4 is supported... yes
>> checking whether integer*8 is supported... yes
>> checking whether integer*16 is supported... no
>> checking whether real*4 is supported... yes
>> checking whether real*8 is supported... yes
>> checking whether real*16 is supported... yes
>> 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
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150409/f3afe691/attachment.html>
-------------- next part --------------
_______________________________________________
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