Skip to Content.
Sympa Menu

charm - Re: [charm] Using Charm++ with fortran 90

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Using Charm++ with fortran 90


Chronological Thread 
  • From: Gengbin Zheng <zhenggb AT gmail.com>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: charm AT cs.uiuc.edu, Fernando Stump <fstump2 AT illinois.edu>
  • Subject: Re: [charm] Using Charm++ with fortran 90
  • Date: Tue, 16 Feb 2010 13:35:32 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

f90charm is a module included in charm++ that  you need to compile separately. Something like:

./build f90charm  ...


Gengbin


On Tue, Feb 16, 2010 at 1:19 PM, Phil Miller <mille121 AT illinois.edu> wrote:
On Mon, Feb 15, 2010 at 11:35, Fernando Stump <fstump2 AT illinois.edu> wrote:
> Hi,
>
> I'm trying to use charm++ and to parallelize a fortran code.
>
> After downloading and compiling charm-6.1.3 on turing machine (CSE/UIUC)

What build command did you run?

> I tried to compile the hello example and I got:
>
>
> [fstump2@turing-4 hello]$ make
> ../../../../bin/charmc -g hello.ci -language f90charm
> ../../../../bin/charmc -g -c hello.C
> ../../../../bin/charmc -g -c hellof.f90
> ../../../../bin/charmc -g -o pgm hello.o hellof.o -language f90charm -balancer RotateLB
> /usr/bin/ld: cannot find -lf90charm
> collect2: ld returned 1 exit status
> Fatal Error by charmc in directory /turing/home/fstump2/mylibs/charm-6.1.3/net-linux-ppc-gfortran-gcc/examples/charm++/f90charm/hello
>   Command g++ -g -o pgm -L../../../../bin/../lib -I../../../../bin/../include ../../../../bin/../lib/libldb-rand.o hello.o hellof.o moduleinit25485.o -lmoduleRotateLB -lf90charm -lckf ../../../../bin/../lib/libmemory-default.o ../../../../bin/../lib/libthreads-default.o -lck -lconv-cplus-y -lconv-core -lconv-util -lckqt -ldl -lmoduleRotateLB -L/usr/lib/gcc/ppc64-redhat-linux/4.4.1 -lgfortran -lgcc_eh -lm returned error code 1
> charmc exiting...
> make: *** [pgm] Error 1
>
>
> Where does libf90charm is  supposed to be ?
>
> Thanks
> Fernando
> _______________________________________________
> charm mailing list
> charm AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/charm
>
>

_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm




--
--------------------------------------------
Gengbin Zheng,  Ph.D.
Research Scientist
Parallel Programming Laboratory
Department of Computer Science
University of Illinois at Urbana-Champaign
201 N. Goodwin Ave.
Urbana, IL 61801



Archive powered by MHonArc 2.6.16.

Top of Page