[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[ninf-users:00105] Re: NG4.0 ng_gen problem



Hello,

Thanks to report.

From: Pieter Bellens  <pbellens@ac.upc.edu>
Subject: NG4.0 ng_gen problem
Date: Thu, 22 Sep 2005 13:12:47 +0200

> after downloading and installing NG4.0, i tried to compile the sample
> programs included in the distribution. ng_gen refuses to process each
> and any IDL-file that i submit. And everytime, it aborts with the
> following message:

> cc: worker.idl: linker input file unused because linking not done
> cc: worker.idl: linker input file unused because linking not done

OK. I have some questions.

  - Do you use Ninf-G 2.4.0 release? or Ninf-G 4.0.0b1?

    (IDL compilation is not different between Ninf-G 2.4.0 and
     Ninf-G 4.0.0b1. Do you require to use WS-GRAM Job invocation?
     If not, Ninf-G 4.0.0b1 is beta version and Ninf-G 2.4.0 is
     stable version. Thus, using Ninf-G 2.4.0 is better choice.
     If WS-GRAM Job invocation is required,
     <SERVER> invoke_server GT4py </SERVER> should be set in the client
     configuration file. Other operation is the same as Ninf-G 2.4.0.)

     Ninf-G 2.4.0 can compile with GT 4.0. In this case,
     pre-WS GRAM (on GT4.0) should be setup.

     And more, GT 4.0 do not install pre-WS MDS as default.
     In this case Ninf-G configure with --without-mds option
     helps you.)

  - Did you try sample program included in the Ninf-G distribution?
    like test/samples/pi, test/samples/add, and was it worked?

    (Online tutorial is available on the web, 
     ( http://ninf.apgrid.org/documents/ng2-tutorial/tutorial.html )
     or in the Ninf-G 2.4.0 distribution "doc/tutorial/tutorial.html".
     It explains how client and server was compiled.
     You can check the IDL compilation by this document.)

  - Did you create worker.idl? It seems no worker.idl in the Ninf-G
    distribution. Would you show us worker.idl and how it compiled?

> /******************************************/
> /*           function structure           */
> /******************************************/
> Module: (null) , #entries : 0
> "worker.idl", line -1: module is not specified, can't create makefile.

This error looks like, the "-d" option is supplied to ng_gen command.
-d option is for debug and not effective for ordinary use.

Did you pass this option to ng_gen?

> I haven t installed the Java client, NG_LOCATION and GLOBUS_LOCATION are
> set, GT4 was installed prior to the NG installation (so i didn t follow the installation instructions of NG to the letter)... Am i missing something here?

Thanks.
TASHIRO Tomosige
SOUM Corporation, Japan.