Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Error compiling NPB with AMPI

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Error compiling NPB with AMPI


Chronological Thread 
  • From: Gengbin Zheng <gzheng AT illinois.edu>
  • To: Laércio Lima Pilla <llpilla AT inf.ufrgs.br>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] [ppl] Error compiling NPB with AMPI
  • Date: Thu, 3 Nov 2011 01:06:32 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi,

Can you download the latest charm from git repository and try again.
I updated our script to test gfortran at the location you gave below.

Gengbin

On Wed, Nov 2, 2011 at 2:19 PM, Laércio Lima Pilla
<llpilla AT inf.ufrgs.br>
wrote:
> Hi Gengbin,
> My libgfortran.so is at /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6 .
> I tried to add this information when compiling both Charm and the
> benchmarks, and it still fails to find -lf90math and friends.
> Best regards,
>
> Laércio LIMA PILLA
>
> PhD Student at Federal University of Rio Grande do Sul (UFRGS)
> Email: 
> laercio.pilla AT inf.ufrgs.br or 
> laercio.lima.pilla AT gmail.com
> Tel: +55 54 9973 6313
> Website: www.inf.ufrgs.br/~llpilla
>
>
> 2011/10/30 Gengbin Zheng
> <zhenggb AT gmail.com>
>>
>> It looks like our script fails to detect your gfortran libraries.
>> Do you know where is your -lgfortran library located?
>>
>> Gengbin
>>
>> On Sat, Oct 29, 2011 at 9:04 AM, Laércio Lima Pilla
>> <llpilla AT inf.ufrgs.br>
>> wrote:
>> > Hi,
>> > I am having trouble compiling the NAS Parallel Benchmarks BT, LU and SP,
>> > all
>> > multi-zone.
>> > I built Charm++ and AMPI for multicore-linux64 with gfortran. I compiled
>> > and
>> > ran megampi successfully.
>> > When compiling the benchmarks, I get the following error.
>> > /home/pilla/numalb/src/charm/multicore-linux64-gfortran/bin/ampif77
>> > -balancer CommonLBs -memory os-isomalloc
>> > -L//home/pilla/scotch_5.1.11/lib
>> > -L//home/pilla/numalb/src/archTopology/lib -lscotch -lscotcherr
>> > -larchtopo
>> > -o ../bin/lu-mz.W.4 lu.o read_input.o mpi_setup.o setcoeff.o setbv.o
>> > exact.o
>> > setiv.o erhs.o ssor.o zone_setup.o exch_qbc.o rhs.o l2norm.o jacld.o
>> > blts.o
>> > jacu.o buts.o syncs.o error.o pintgr.o verify.o
>> > ../common/print_results.o
>> > ../common/timers.o -L//home/pilla/scotch_5.1.11/lib
>> > -L//home/pilla/numalb/src/archTopology/lib
>> > /usr/bin/ld: cannot find -lf90math
>> > /usr/bin/ld: cannot find -lfio
>> > /usr/bin/ld: cannot find -lU77
>> > /usr/bin/ld: cannot find -lf77math
>> > collect2: ld returned 1 exit status
>> > I am the following parameters
>> > F77 = $(CHARMDIR)/bin/ampif77
>> > FLINK   = $(F77)
>> > F_LIB  =
>> > FFLAGS  = -O3
>> > FLINKFLAGS =
>> > Any ideas to solve that?
>> > Best regards,
>> > Laércio LIMA PILLA
>> >
>> > PhD Student at Federal University of Rio Grande do Sul (UFRGS)
>> > Email: 
>> > laercio.pilla AT inf.ufrgs.br or 
>> > laercio.lima.pilla AT gmail.com
>> > Tel: +55 54 9973 6313
>> > Website: www.inf.ufrgs.br/~llpilla
>> >
>> > _______________________________________________
>> > charm mailing list
>> > charm AT cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/charm
>> >
>> > _______________________________________________
>> > ppl mailing list
>> > ppl AT cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/ppl
>> >
>> >
>
>





Archive powered by MHonArc 2.6.16.

Top of Page