Opened 10 years ago

Closed 10 years ago

#294 closed bug (fixed)

error in compilation

Reported by: "jagan TNAU" <jagan@…> Owned by:
Priority: major Milestone:
Component: mpich Keywords:
Cc:

Description

Hello,
I have compiled mpich2-1.1.0a1 version in MAC book intel core2 duo, 2.4 GHz,
MAC OSX 10.5.4 (Leopard), Darwin 9.4.0 using the following env settings

export F77=ifort

export F90=ifort

export CC=/usr/bin/gcc

export CXX=/usr/bin/c++

export FFLAGS="-convert big_endian -i4 -O3 -xT -align all -fno-alias -m64"

export CFLAGS="-arch x86_64 -mmacosx-version-min=10.5 -m64 -O3  -DMACOS
-isysroot /Developer/SDKs/MacOSX10.5.sdk"

CXXFLAGS="-m64 -O3 -DMACOS -isysroot /Developer/SDKs/MacOSX10.5.sdk"

./configure --prefix=/usr/local/mpich --enable-f90


The make log showed error in Making src/slog2sdk (please see attached file)
and the installation showed the following error


/usr/bin/gcc  -o .libs/libTraceInput.jnilib -bundle  .libs/trace_input.o
.libs/rlogutil.o .libs/logformat_trace_InputLog.o

ld: warning in .libs/trace_input.o, file is not of required architecture

ld: warning in .libs/rlogutil.o, file is not of required architecture

ld: warning in .libs/logformat_trace_InputLog.o, file is not of required
architecture

nmedit -s .libs/libTraceInput-symbols.expsym .libs/libTraceInput.jnilib

nmedit: symbols names listed in: .libs/libTraceInput-symbols.expsym not in:
/Users/sathya/Desktop/meso/mpich2/src/mpe2/src/slog2sdk/trace_rlog/src/.libs/lib
TraceInput.jnilib

_Java_logformat_trace_InputLog_close

_Java_logformat_trace_InputLog_getNextCategory

_Java_logformat_trace_InputLog_getNextComposite

_Java_logformat_trace_InputLog_getNextPrimitive

_Java_logformat_trace_InputLog_getNextYCoordMap

_Java_logformat_trace_InputLog_initIDs

_Java_logformat_trace_InputLog_open

_Java_logformat_trace_InputLog_peekNextKindIndex

make[2]: *** [INSTALL_LIBSO] Error 1

The mpirun was requirement for us to run WRF model and looks working
perfect. Can you help me to sort out this error issue.



With regards

Dr.R.Jagannathan
Professor and Head
Agro Climate Research Centre,
Tamil Nadu Agricultural University,
Coimbatore - 641 003 India

PHONE: Off: 91-422-6611519 Res: 91-422-2453600
      Fax: 91-422-2430657 Mob: 91-94438 89891

Attachments (2)

part0001.html (5.2 KB) - added by jagan TNAU 10 years ago.
Added by email2trac
part0001.2.html (10.8 KB) - added by jagan TNAU 10 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by jagan TNAU

Added by email2trac

comment:1 Changed 10 years ago by jagan TNAU

  • id set to 294

This message has 1 attachment(s)

comment:2 Changed 10 years ago by Anthony Chan

Can you try mpich2-1.1.0a2 which was just released few days ago
to see if the error is still there ?  If the error persists, can
you send the configure and make outputs as stated in README or
installer's guide.

A.Chan
----- "mpich2" <mpich2-maint@mcs.anl.gov> wrote:

> ---------------------------------------------+------------------------------
>  Reporter:  "jagan TNAU" <jagan@tnau.ac.in>  |        Type:  bug
>    Status:  new                              |    Priority:  major
> Milestone:                                   |   Component:  mpich2
> ---------------------------------------------+------------------------------
>
>
>  {{{
>
>  Hello,
>  I have compiled mpich2-1.1.0a1 version in MAC book intel core2 duo,
> 2.4
>  GHz,
>  MAC OSX 10.5.4 (Leopard), Darwin 9.4.0 using the following env
> settings
>
>  export F77=ifort
>
>  export F90=ifort
>
>  export CC=/usr/bin/gcc
>
>  export CXX=/usr/bin/c++
>
>  export FFLAGS="-convert big_endian -i4 -O3 -xT -align all -fno-alias
> -m64"
>
>  export CFLAGS="-arch x86_64 -mmacosx-version-min=10.5 -m64 -O3
> -DMACOS
>  -isysroot /Developer/SDKs/MacOSX10.5.sdk"
>
>  CXXFLAGS="-m64 -O3 -DMACOS -isysroot /Developer/SDKs/MacOSX10.5.sdk"
>
>  ./configure --prefix=/usr/local/mpich --enable-f90
>
>
>  The make log showed error in Making src/slog2sdk (please see
> attached
>  file)
>  and the installation showed the following error
>
>
>  /usr/bin/gcc  -o .libs/libTraceInput.jnilib -bundle
> .libs/trace_input.o
>  .libs/rlogutil.o .libs/logformat_trace_InputLog.o
>
>  ld: warning in .libs/trace_input.o, file is not of required
> architecture
>
>  ld: warning in .libs/rlogutil.o, file is not of required
> architecture
>
>  ld: warning in .libs/logformat_trace_InputLog.o, file is not of
> required
>  architecture
>
>  nmedit -s .libs/libTraceInput-symbols.expsym
> .libs/libTraceInput.jnilib
>
>  nmedit: symbols names listed in: .libs/libTraceInput-symbols.expsym
> not
>  in:
>
>
/Users/sathya/Desktop/meso/mpich2/src/mpe2/src/slog2sdk/trace_rlog/src/.libs/lib
>  TraceInput.jnilib
>
>  _Java_logformat_trace_InputLog_close
>
>  _Java_logformat_trace_InputLog_getNextCategory
>
>  _Java_logformat_trace_InputLog_getNextComposite
>
>  _Java_logformat_trace_InputLog_getNextPrimitive
>
>  _Java_logformat_trace_InputLog_getNextYCoordMap
>
>  _Java_logformat_trace_InputLog_initIDs
>
>  _Java_logformat_trace_InputLog_open
>
>  _Java_logformat_trace_InputLog_peekNextKindIndex
>
>  make[2]: *** [INSTALL_LIBSO] Error 1
>
>  The mpirun was requirement for us to run WRF model and looks working
>  perfect. Can you help me to sort out this error issue.
>
>
>
>  With regards
>
>  Dr.R.Jagannathan
>  Professor and Head
>  Agro Climate Research Centre,
>  Tamil Nadu Agricultural University,
>  Coimbatore - 641 003 India
>
>  PHONE: Off: 91-422-6611519 Res: 91-422-2453600
>        Fax: 91-422-2430657 Mob: 91-94438 89891
>  }}}
>
>
> --
> Ticket URL: <https://trac.mcs.anl.gov/projects/mpich2/ticket/294>

comment:3 Changed 10 years ago by Anthony Chan

Forgot to mention you probably need to set F90FLAGS to the
same value as FFLAGS (FFLAGS is for F77, F90FLAGS is for F90).
I don't think you need to set "-convert big_endian" in FFLAGS
or F90FLAGS when building MPICH2.  You could supply the flag
with mpif90 when compiling WRF.  Also, -O3 should be set as
part of MPICH2LIB_xFLAGS (see configure --help for details)

A.Chan
----- "mpich2" <mpich2-maint@mcs.anl.gov> wrote:

> ---------------------------------------------+------------------------------
>  Reporter:  "jagan TNAU" <jagan@tnau.ac.in>  |        Owner:
>      Type:  bug                              |       Status:  new
>  Priority:  major                            |    Milestone:
> Component:  mpich2                           |   Resolution:
>  Keywords:                                   |
> ---------------------------------------------+------------------------------
>
>
> Comment (by Anthony Chan):
>
>  {{{
>
>  Can you try mpich2-1.1.0a2 which was just released few days ago
>  to see if the error is still there ?  If the error persists, can
>  you send the configure and make outputs as stated in README or
>  installer's guide.
>
>  A.Chan
>  ----- "mpich2" <mpich2-maint@mcs.anl.gov> wrote:
>
>  >
>
> ---------------------------------------------+------------------------------
>  >  Reporter:  "jagan TNAU" <jagan@tnau.ac.in>  |        Type:  bug
>  >    Status:  new                              |    Priority:  major
>  > Milestone:                                   |   Component:
> mpich2
>  >
>
> ---------------------------------------------+------------------------------
>  >
>  >
>  >  {{{
>  >
>  >  Hello,
>  >  I have compiled mpich2-1.1.0a1 version in MAC book intel core2
> duo,
>  > 2.4
>  >  GHz,
>  >  MAC OSX 10.5.4 (Leopard), Darwin 9.4.0 using the following env
>  > settings
>  >
>  >  export F77=ifort
>  >
>  >  export F90=ifort
>  >
>  >  export CC=/usr/bin/gcc
>  >
>  >  export CXX=/usr/bin/c++
>  >
>  >  export FFLAGS="-convert big_endian -i4 -O3 -xT -align all
> -fno-alias
>  > -m64"
>  >
>  >  export CFLAGS="-arch x86_64 -mmacosx-version-min=10.5 -m64 -O3
>  > -DMACOS
>  >  -isysroot /Developer/SDKs/MacOSX10.5.sdk"
>  >
>  >  CXXFLAGS="-m64 -O3 -DMACOS -isysroot
> /Developer/SDKs/MacOSX10.5.sdk"
>  >
>  >  ./configure --prefix=/usr/local/mpich --enable-f90
>  >
>  >
>  >  The make log showed error in Making src/slog2sdk (please see
>  > attached
>  >  file)
>  >  and the installation showed the following error
>  >
>  >
>  >  /usr/bin/gcc  -o .libs/libTraceInput.jnilib -bundle
>  > .libs/trace_input.o
>  >  .libs/rlogutil.o .libs/logformat_trace_InputLog.o
>  >
>  >  ld: warning in .libs/trace_input.o, file is not of required
>  > architecture
>  >
>  >  ld: warning in .libs/rlogutil.o, file is not of required
>  > architecture
>  >
>  >  ld: warning in .libs/logformat_trace_InputLog.o, file is not of
>  > required
>  >  architecture
>  >
>  >  nmedit -s .libs/libTraceInput-symbols.expsym
>  > .libs/libTraceInput.jnilib
>  >
>  >  nmedit: symbols names listed in:
> .libs/libTraceInput-symbols.expsym
>  > not
>  >  in:
>  >
>  >
>
>
/Users/sathya/Desktop/meso/mpich2/src/mpe2/src/slog2sdk/trace_rlog/src/.libs/lib
>  >  TraceInput.jnilib
>  >
>  >  _Java_logformat_trace_InputLog_close
>  >
>  >  _Java_logformat_trace_InputLog_getNextCategory
>  >
>  >  _Java_logformat_trace_InputLog_getNextComposite
>  >
>  >  _Java_logformat_trace_InputLog_getNextPrimitive
>  >
>  >  _Java_logformat_trace_InputLog_getNextYCoordMap
>  >
>  >  _Java_logformat_trace_InputLog_initIDs
>  >
>  >  _Java_logformat_trace_InputLog_open
>  >
>  >  _Java_logformat_trace_InputLog_peekNextKindIndex
>  >
>  >  make[2]: *** [INSTALL_LIBSO] Error 1
>  >
>  >  The mpirun was requirement for us to run WRF model and looks
> working
>  >  perfect. Can you help me to sort out this error issue.
>  >
>  >
>  >
>  >  With regards
>  >
>  >  Dr.R.Jagannathan
>  >  Professor and Head
>  >  Agro Climate Research Centre,
>  >  Tamil Nadu Agricultural University,
>  >  Coimbatore - 641 003 India
>  >
>  >  PHONE: Off: 91-422-6611519 Res: 91-422-2453600
>  >        Fax: 91-422-2430657 Mob: 91-94438 89891
>  >  }}}
>  >
>  >
>  > --
>  > Ticket URL: <https://trac.mcs.anl.gov/projects/mpich2/ticket/294>
>  }}}
>
> --
> Ticket URL:
> <https://trac.mcs.anl.gov/projects/mpich2/ticket/294#comment:>

Changed 10 years ago by jagan TNAU

Added by email2trac

comment:4 Changed 10 years ago by jagan TNAU

Dear Anthony Chan,
The same error is repeated. I removed convert big_endian and set F90FLAGS.

One think I forgotten to inform you is that it I need to place the malloc.h
file in src/include otherwise make fails indicating that the malloc.h not
available. Any further suggestion.

On Thu, Nov 20, 2008 at 12:37 PM, mpich2 <mpich2-maint@mcs.anl.gov> wrote:

>
> ---------------------------------------------+------------------------------
>  Reporter:  "jagan TNAU" <jagan@tnau.ac.in>  |        Owner:
>      Type:  bug                              |       Status:  new
>  Priority:  major                            |    Milestone:
> Component:  mpich2                           |   Resolution:
>  Keywords:                                   |
>
> ---------------------------------------------+------------------------------
>
>
> Comment (by Anthony Chan):
>
>  {{{
>
>  Forgot to mention you probably need to set F90FLAGS to the
>  same value as FFLAGS (FFLAGS is for F77, F90FLAGS is for F90).
>  I don't think you need to set "-convert big_endian" in FFLAGS
>  or F90FLAGS when building MPICH2.  You could supply the flag
>  with mpif90 when compiling WRF.  Also, -O3 should be set as
>  part of MPICH2LIB_xFLAGS (see configure --help for details)
>
>  A.Chan
>  ----- "mpich2" <mpich2-maint@mcs.anl.gov> wrote:
>
>  >
>
>  ---------------------------------------------+------------------------------
>  >  Reporter:  "jagan TNAU" <jagan@tnau.ac.in>  |        Owner:
>  >      Type:  bug                              |       Status:  new
>  >  Priority:  major                            |    Milestone:
>  > Component:  mpich2                           |   Resolution:
>  >  Keywords:                                   |
>  >
>
>  ---------------------------------------------+------------------------------
>  >
>  >
>  > Comment (by Anthony Chan):
>  >
>  >  {{{
>  >
>  >  Can you try mpich2-1.1.0a2 which was just released few days ago
>  >  to see if the error is still there ?  If the error persists, can
>  >  you send the configure and make outputs as stated in README or
>  >  installer's guide.
>  >
>  >  A.Chan
>  >  ----- "mpich2" <mpich2-maint@mcs.anl.gov> wrote:
>  >
>  >  >
>  >
>  >
>
>  ---------------------------------------------+------------------------------
>  >  >  Reporter:  "jagan TNAU" <jagan@tnau.ac.in>  |        Type:  bug
>  >  >    Status:  new                              |    Priority:  major
>  >  > Milestone:                                   |   Component:
>  > mpich2
>  >  >
>  >
>  >
>
>  ---------------------------------------------+------------------------------
>  >  >
>  >  >
>  >  >  {{{
>  >  >
>  >  >  Hello,
>  >  >  I have compiled mpich2-1.1.0a1 version in MAC book intel core2
>  > duo,
>  >  > 2.4
>  >  >  GHz,
>  >  >  MAC OSX 10.5.4 (Leopard), Darwin 9.4.0 using the following env
>  >  > settings
>  >  >
>  >  >  export F77=ifort
>  >  >
>  >  >  export F90=ifort
>  >  >
>  >  >  export CC=/usr/bin/gcc
>  >  >
>  >  >  export CXX=/usr/bin/c++
>  >  >
>  >  >  export FFLAGS="-convert big_endian -i4 -O3 -xT -align all
>  > -fno-alias
>  >  > -m64"
>  >  >
>  >  >  export CFLAGS="-arch x86_64 -mmacosx-version-min=10.5 -m64 -O3
>  >  > -DMACOS
>  >  >  -isysroot /Developer/SDKs/MacOSX10.5.sdk"
>  >  >
>  >  >  CXXFLAGS="-m64 -O3 -DMACOS -isysroot
>  > /Developer/SDKs/MacOSX10.5.sdk"
>  >  >
>  >  >  ./configure --prefix=/usr/local/mpich --enable-f90
>  >  >
>  >  >
>  >  >  The make log showed error in Making src/slog2sdk (please see
>  >  > attached
>  >  >  file)
>  >  >  and the installation showed the following error
>  >  >
>  >  >
>  >  >  /usr/bin/gcc  -o .libs/libTraceInput.jnilib -bundle
>  >  > .libs/trace_input.o
>  >  >  .libs/rlogutil.o .libs/logformat_trace_InputLog.o
>  >  >
>  >  >  ld: warning in .libs/trace_input.o, file is not of required
>  >  > architecture
>  >  >
>  >  >  ld: warning in .libs/rlogutil.o, file is not of required
>  >  > architecture
>  >  >
>  >  >  ld: warning in .libs/logformat_trace_InputLog.o, file is not of
>  >  > required
>  >  >  architecture
>  >  >
>  >  >  nmedit -s .libs/libTraceInput-symbols.expsym
>  >  > .libs/libTraceInput.jnilib
>  >  >
>  >  >  nmedit: symbols names listed in:
>  > .libs/libTraceInput-symbols.expsym
>  >  > not
>  >  >  in:
>  >  >
>  >  >
>  >
>  >
>
>
/Users/sathya/Desktop/meso/mpich2/src/mpe2/src/slog2sdk/trace_rlog/src/.libs/lib
>  >  >  TraceInput.jnilib
>  >  >
>  >  >  _Java_logformat_trace_InputLog_close
>  >  >
>  >  >  _Java_logformat_trace_InputLog_getNextCategory
>  >  >
>  >  >  _Java_logformat_trace_InputLog_getNextComposite
>  >  >
>  >  >  _Java_logformat_trace_InputLog_getNextPrimitive
>  >  >
>  >  >  _Java_logformat_trace_InputLog_getNextYCoordMap
>  >  >
>  >  >  _Java_logformat_trace_InputLog_initIDs
>  >  >
>  >  >  _Java_logformat_trace_InputLog_open
>  >  >
>  >  >  _Java_logformat_trace_InputLog_peekNextKindIndex
>  >  >
>  >  >  make[2]: *** [INSTALL_LIBSO] Error 1
>  >  >
>  >  >  The mpirun was requirement for us to run WRF model and looks
>  > working
>  >  >  perfect. Can you help me to sort out this error issue.
>  >  >
>  >  >
>  >  >
>  >  >  With regards
>  >  >
>  >  >  Dr.R.Jagannathan
>  >  >  Professor and Head
>  >  >  Agro Climate Research Centre,
>  >  >  Tamil Nadu Agricultural University,
>  >  >  Coimbatore - 641 003 India
>  >  >
>  >  >  PHONE: Off: 91-422-6611519 Res: 91-422-2453600
>  >  >        Fax: 91-422-2430657 Mob: 91-94438 89891
>  >  >  }}}
>  >  >
>  >  >
>  >  > --
>  >  > Ticket URL: <https://trac.mcs.anl.gov/projects/mpich2/ticket/294>
>  >  }}}
>  >
>  > --
>  > Ticket URL:
>  > <https://trac.mcs.anl.gov/projects/mpich2/ticket/294#comment:>
>  }}}
>
> --
> Ticket URL: <https://trac.mcs.anl.gov/projects/mpich2/ticket/294#comment:>
>



--
Please visit our Agri Weather Bulletin page
http://agmet.tnau.ac.in/acrc/index.html

With regards

Dr.R.Jagannathan
Professor and Head
Agro Climate Research Centre,
Tamil Nadu Agricultural University,
Coimbatore - 641 003 India

PHONE: Off: 91-422-6611519 Res: 91-422-2453600
      Fax: 91-422-2430657 Mob: 91-94438 89891

comment:5 Changed 10 years ago by thakur

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.