problem with running oq-engine

83 views
Skip to first unread message

Parisa

unread,
Sep 29, 2015, 11:25:16 AM9/29/15
to OpenQuake Users
i had run oq-engine before with no problem, but this time i faced this error i don't know the meaning nor the way i can fix the problem.

parisa@parisa-VGN-CS36GJ-Q:~$ oq-engine --run-hazard=/Documents/oqMine/SFSPSHA/job.ini
No live compute nodes, aborting calculation

I would appreciate it if anybody could help me know what is it about or how to fix it.

Michele Simionato

unread,
Sep 29, 2015, 11:58:29 AM9/29/15
to OpenQuake Users
Celery is not running.

Two solutions:

1. you start celery
2. you add the --nd option to run the engine without celery

Parisa

unread,
Oct 1, 2015, 12:18:28 PM10/1/15
to OpenQuake Users
tnx to reply. i did as follow:

parisa@parisa-VGN-CS36GJ-Q:~$ celeryd
/usr/lib/python2.7/dist-packages/celery/loaders/default.py:45: NotConfigured: No 'celeryconfig' module found! Please make sure it exists and is available to Python.
  "is available to Python." % (configname, )))
[2015-10-01 10:01:50,338: WARNING/MainProcess] 

 -------------- celery@parisa-VGN-CS36GJ-Q v2.4.6
---- **** -----
--- * ***  * -- [Configuration]
-- * - **** ---   . broker:      amqp://guest@localhost:5672//
- ** ----------   . loader:      celery.loaders.default.Loader
- ** ----------   . logfile:     [stderr]@WARNING
- ** ----------   . concurrency: 2
- ** ----------   . events:      OFF
- *** --- * ---   . beat:        OFF
-- ******* ----
--- ***** ----- [Queues]
 --------------   . celery:      exchange:celery (direct) binding:celery
                 

[2015-10-01 10:01:50,417: WARNING/MainProcess] celery@parisa-VGN-CS36GJ-Q has started.


does it mean that i can now run OQ in separate terminal window?
because when i tried again, I got stuck with assertion error this time.
Message has been deleted
Message has been deleted

Daniele Viganò

unread,
Oct 1, 2015, 1:20:42 PM10/1/15
to openqua...@googlegroups.com
Dear user,


On 01/10/15 18:18, Parisa wrote:
> tnx to reply. i did as follow:
>
> parisa@parisa-VGN-CS36GJ-Q:~$ celeryd

as per https://github.com/gem/oq-engine/blob/master/doc/engine/Installing-the-OpenQuake-Engine-Nightly.md#run-oq-engine-with-calculation-parallelization you must, before running celery, change the current working directory to /usr/share/openquake/engine; so the actual commands are:

cd /usr/share/openquake/engine
celeryd --purge

Then you can run openquake in a separate terminal tab or window. About the AssertionError, please have a look to the other thread.

Cheers,
Daniele


--
DANIELE VIGANÒ | System Administrator | Skype dennyv85 | +39 0382 5169882
GLOBAL EARTHQUAKE MODEL | working together to assess risk
Reply all
Reply to author
Forward
0 new messages