[Bigjob-users] Reg: An issue while running a test Bigjob

Muralidhar Chouhan cmural1 at tigers.lsu.edu
Thu Dec 8 13:05:34 CST 2011


Hi Pradeep,

This time i tried using "Sierra". I tried to run the example code using
different lrms_url, it shows following error.

"saga.bad_parameter: SAGA(BadParameter): condor_job: Adaptor supports
'condor' and 'condorg' URL schemes, 'pbspro' is not supported."

But it runs fine with "fork://localhost". please help.

Thanks & Regards
Muralidhar Chouhan

On Wed, Nov 30, 2011 at 2:51 PM, pradeep kumar Mantha
<pradeepm66 at gmail.com>wrote:

> Hi Murali!
>
>  Could you please try to use other futuregrid machines like india or
> sierra for running bigjob, as ALAMO has few problems accessing advert
> database from compute nodes.
>
> thanks
> pradeep.
>
>
> On Sun, Nov 27, 2011 at 12:53 PM, Muralidhar Chouhan <
> cmural1 at tigers.lsu.edu> wrote:
>
>> thanks a lot for the support.
>>
>> i tried to use other resources , it shows following error.
>>
>> "saga.bad_parameter: SAGA(BadParameter): condor_job: Adaptor supports
>> 'condor' and 'condorg' URL schemes, 'pbspro' is not supported."
>>
>>
>> On Sun, Nov 27, 2011 at 12:39 PM, pradeep kumar Mantha <
>> pradeepm66 at gmail.com> wrote:
>>
>>> Yes everything looks fine and the job executed successfully.
>>> Try using different resource urls given in the example  to execute jobs
>>> as per your requirement.
>>>
>>> Please let us know if something is not clear.
>>>
>>> On Sun, Nov 27, 2011 at 12:33 PM, Muralidhar Chouhan <
>>> cmural1 at tigers.lsu.edu> wrote:
>>>
>>>> I have run the job, find the screen shot of my output.please suggest if
>>>> i am still missing something.
>>>>
>>>>
>>>> On Sun, Nov 27, 2011 at 12:19 PM, pradeep kumar Mantha <
>>>> pradeepm66 at gmail.com> wrote:
>>>>
>>>>> Yes.
>>>>> In $HOME directory just create link with name .saga.ini
>>>>> ln -s $HOME/saga_adaptors/saga.ini .saga.ini
>>>>>
>>>>>
>>>>> On Sun, Nov 27, 2011 at 12:11 PM, Muralidhar Chouhan <
>>>>> cmural1 at tigers.lsu.edu> wrote:
>>>>>
>>>>>> I cant see it in my $HOME directory, there is no hidden file with
>>>>>> name *.saga.ini (*i have used *ls -a* to see all the hidden files)
>>>>>>
>>>>>>
>>>>>> On Sun, Nov 27, 2011 at 12:05 PM, pradeep kumar Mantha <
>>>>>> pradeepm66 at gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Nov 27, 2011 at 11:45 AM, Muralidhar Chouhan <
>>>>>>> cmural1 at tigers.lsu.edu> wrote:
>>>>>>>
>>>>>>>> I can see the file mentioned in the following path,
>>>>>>>>
>>>>>>>> $HOME/saga_adaptors/saga.ini
>>>>>>>>
>>>>>>>
>>>>>>> I think you created the file in $HOME/saga_adaptors with filename
>>>>>>> saga.ini
>>>>>>>
>>>>>>> The file should be in $HOME directory and name of the file is
>>>>>>> ".saga.ini" ( .saga.ini is a hidden file and starts with "." )
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> i have modified the file as mentioned, however i did not change the
>>>>>>>> *location, *i am not sure if i can copy paste the one that you
>>>>>>>> shared, please confirm. It did not work for me. please find the attachments
>>>>>>>> of my* saga.ini* file and the *source code*.
>>>>>>>>
>>>>>>>> (location in my file)
>>>>>>>> location = ${SAGA_LOCATION:/N/soft/SAGA/saga/1.6/gcc-4.1.2}
>>>>>>>>
>>>>>>>> I have got below error this time,
>>>>>>>>
>>>>>>>> pilot_dir = saga.advert.directory(saga.url(pilot_url),
>>>>>>>> saga.advert.Create | saga.advert.CreateParents | saga.advert.ReadWrite)
>>>>>>>> saga.no_success: SAGA(NoSuccess): default_advert: Unable to
>>>>>>>> establish connection to database_connection: dbname='advertdb' host='
>>>>>>>> advert.cct.lsu.edu' password='<password>' port='8080'
>>>>>>>> user='<username>' Cannot establish connection to the database: FATAL:
>>>>>>>>  password authentication failed for user "<username>"
>>>>>>>>
>>>>>>>>
>>>>>>> Please use examples under tutorial section with corresponding
>>>>>>> COORDINATION_URL. see FAQ 12.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Thanks & Regards,
>>>>>>>> Muralidhar Chouhan
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Nov 27, 2011 at 10:08 AM, pradeep kumar Mantha <
>>>>>>>> pradeepm66 at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Currently!
>>>>>>>>>
>>>>>>>>> test-bigjob doesn't work on alamo since SAGA CSA installation was
>>>>>>>>> not built with default  sqlite3 database. So please use examples under
>>>>>>>>> tutorial tab on bigjob page.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Could you please try to use advert.cct.lsu.edu as hostname & 8080
>>>>>>>>> as port.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Note:
>>>>>>>>>
>>>>>>>>>  Make sure you have file $HOME/.saga.ini
>>>>>>>>> with content
>>>>>>>>>
>>>>>>>>> [saga]
>>>>>>>>>   # saga install root,  points to what is set in the environment, as
>>>>>>>>>   # SAGA_LOCATION, or use the configure time prefix as fallback.
>>>>>>>>>   location = ${SAGA_LOCATION:/var/tmp/saga-1.4.1_python2.6.4}
>>>>>>>>>
>>>>>>>>>   # where to find adaptor ini files
>>>>>>>>>   ini_path = ${HOME}/saga_adaptors/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hope it works.
>>>>>>>>>
>>>>>>>>> thanks
>>>>>>>>> pradeep
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Nov 27, 2011 at 12:11 AM, Muralidhar Chouhan <
>>>>>>>>> cmural1 at tigers.lsu.edu> wrote:
>>>>>>>>>
>>>>>>>>>> Dear Pradeep,
>>>>>>>>>>
>>>>>>>>>> I have tried the fix mentioned in the website, even then it gives
>>>>>>>>>> me same error. Please confirm if the *host *parameter in the
>>>>>>>>>> below line needs to be unchanged? please find the attachment of my
>>>>>>>>>> *saga_adaptor_default_advert.ini *file.
>>>>>>>>>>
>>>>>>>>>> dbconnect = dbname=advertdb;host=<your hostname here>;port=5432;user=SAGA;password=SAGA_client
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *Regards,*
>>>>>>>>>> Muralidhar Chouhan
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sat, Nov 26, 2011 at 11:31 PM, Ole Weidner <
>>>>>>>>>> oweidner at cct.lsu.edu> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I don't see how http://faust.cct.lsu.edu/trac/bigjob/wiki/cewould help in this case. Frankly, I don't understand the "fix" at all.
>>>>>>>>>>> There's no explanatio. Also, please note the subtile difference between
>>>>>>>>>>> Muralidhar's problem:
>>>>>>>>>>>
>>>>>>>>>>> Unable to establish connection to database_connection:
>>>>>>>>>>> dbname='advertdb' host='*localhost*' password='<password>'
>>>>>>>>>>> port='*5432*' user='<username>'
>>>>>>>>>>>
>>>>>>>>>>> and the one in the FAQ section:
>>>>>>>>>>>
>>>>>>>>>>> Unable to establish connection to database_connection:
>>>>>>>>>>> dbname='advertdb' host='*advert.cct.lsu.edu*'
>>>>>>>>>>> password='<password>' port='*8080*' user='<username>'
>>>>>>>>>>>
>>>>>>>>>>> IMHO the role of the advert service is not made very clear in
>>>>>>>>>>> the BigJob documentation and could easily become a stumbling block for the
>>>>>>>>>>> casual BigJob user without any SAGA experience. In general, I think that
>>>>>>>>>>> this needs to be addressed one way (replacing advert with something else)
>>>>>>>>>>> or the other (make it more transparent to the user) in order to make BigJob
>>>>>>>>>>> more user-friendly. I think the '*legendary*' HECToR project
>>>>>>>>>>> made the same suggestion a while ago ;-)
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> Ole
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Nov 26, 2011, at 10:52 PM, pradeep kumar Mantha wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi!
>>>>>>>>>>>
>>>>>>>>>>> Please find the solution at  FAQ's & mailing list->common errors
>>>>>>>>>>> on bigjob [ http://faust.cct.lsu.edu/trac/bigjob/] website.
>>>>>>>>>>>
>>>>>>>>>>> Please let me know if it doesn't work.
>>>>>>>>>>>
>>>>>>>>>>> thanks
>>>>>>>>>>> pradeep
>>>>>>>>>>>
>>>>>>>>>>> On Sat, Nov 26, 2011 at 9:38 PM, Muralidhar Chouhan <
>>>>>>>>>>> cmural1 at tigers.lsu.edu> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Dear bigjob-users,
>>>>>>>>>>>>
>>>>>>>>>>>> I have installed the Bigjob on Futuregrid (alamo), but i am
>>>>>>>>>>>> facing issues while running any test jobs on the machine. I have tested the
>>>>>>>>>>>> successful installation of SAGA and Bigjob by running the following two
>>>>>>>>>>>> lines in the python shell.
>>>>>>>>>>>>
>>>>>>>>>>>> import saga
>>>>>>>>>>>> import bigjob
>>>>>>>>>>>>
>>>>>>>>>>>> There is a *test-bigjob *mentioned in the installation guide,
>>>>>>>>>>>> i tried to run the same. It shows following error.
>>>>>>>>>>>>
>>>>>>>>>>>> "pilot_dir = saga.advert.directory(saga.url(pilot_url),
>>>>>>>>>>>> saga.advert.Create | saga.advert.CreateParents | saga.advert.ReadWrite)
>>>>>>>>>>>> saga.no_success: SAGA(NoSuccess): default_advert: Unable to
>>>>>>>>>>>> establish connection to database_connection: dbname='advertdb'
>>>>>>>>>>>> host='localhost' password='<password>' port='5432' user='<username>' Cannot
>>>>>>>>>>>> establish connection to the database: could not connect to server:
>>>>>>>>>>>> Connection refused
>>>>>>>>>>>>         Is the server running on host "localhost" and accepting
>>>>>>>>>>>>         TCP/IP connections on port 5432?"
>>>>>>>>>>>>
>>>>>>>>>>>> Please find the attachment of the text file containing the
>>>>>>>>>>>> entire error output.please help.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> *Sincerely,*
>>>>>>>>>>>> Muralidhar Chouhan
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Bigjob-users mailing list
>>>>>>>>>>>> Bigjob-users at mail.cct.lsu.edu
>>>>>>>>>>>> https://mail.cct.lsu.edu/mailman/listinfo/bigjob-users
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Bigjob-users mailing list
>>>>>>>>>>> Bigjob-users at mail.cct.lsu.edu
>>>>>>>>>>> https://mail.cct.lsu.edu/mailman/listinfo/bigjob-users
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Bigjob-users mailing list
>>>>>>>>>>> Bigjob-users at mail.cct.lsu.edu
>>>>>>>>>>> https://mail.cct.lsu.edu/mailman/listinfo/bigjob-users
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Bigjob-users mailing list
>>>>>>>>>> Bigjob-users at mail.cct.lsu.edu
>>>>>>>>>> https://mail.cct.lsu.edu/mailman/listinfo/bigjob-users
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cct.lsu.edu/pipermail/bigjob-users/attachments/20111208/ba5786d2/attachment-0001.html 


More information about the Bigjob-users mailing list