[mpich-discuss] configure error

Jaromir Nosal jnosal at columbia.edu
Fri Aug 5 11:37:33 CDT 2011


Thanks, Dave. 
I finally run the configure with the following lines added, which fixed the problem.
F77=$ABSOFT/bin/f77 FFLAGS="-m64 -IU77" FC=$ABSOFT/bin/f90 FCFLAGS="-m64 -IU77" CFLAGS="-m64" CXXFLAGS="-m64" LDFLAGS="-m64"
Jaromir



----
Jaromir Nosal
Department of Economics
Columbia University
jnosal at columbia.edu




On Aug 5, 2011, at 12:16 PM, Dave Goodell wrote:

> The system GCC installation and the Absoft Fortran compiler have differing default architectures that they target.  GCC is compiling for x86_64 by default, while af77 is compiling for i386 (32-bit) by default.  There are at least two fixes:
> 
> 1) Set CC="gcc -arch i386" on the configure line.  This will make the two agree about 32-bit vs. 64-bit by causing both to output 32-bit code.
> 
> 2) Set F77="af77 -m64" and FC="af90 -m64" on the configure line.  This will make the two agree about 32-bit vs. 64-bit by causing both to output 32-bit code.
> 
> -Dave
> 
> On Aug 5, 2011, at 10:36 AM CDT, Jaromir Nosal wrote:
> 
>> Hi,
>> The installation of Mpich on my Mac Lion fails on the configure stage. Here are the files it generates.
>> I want to use the package to work with my Absoft Fortran. I am creating f90 applications.
>> I appreciate your help with this matter.
>> Best,
>> Jaromir Nosal
>> 
>> 
>> <Archive.zip>
>> 
>> 
>> ----
>> Jaromir Nosal
>> Department of Economics
>> Columbia University
>> jnosal at columbia.edu
>> 
>> 
>> 
>> 
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 



More information about the mpich-discuss mailing list