Kitware / HPCCloud

A Cloud/Web-Based Simulation Environment
https://kitware.github.io/HPCCloud/
Apache License 2.0
50 stars 23 forks source link

How to change code of @cumulus.taskflow.task functions for OpenFoam? #634

Closed dealenx closed 4 years ago

dealenx commented 4 years ago

Hello,

I asked earlier about changing code of function in #632 , but i thought the problem was in build of docker containers. Now I know that i can build containers, but @cumulus.taskflow.task functions is not changed. can’t understand why this is happening.

So I started experimenting with code:

I noticed that if i comment out some parts of the code, then a simulation doen't start in HPCCloud.

I left only this code:

@cumulus.taskflow.task
def create_openfoam_job(task, *args, **kwargs):
    # Move to the next task
    submit_open_foam_job.delay(cluster, job,  *args, **kwargs)

and the code works like a source code.

Maybe I'm doing something wrong in changing the code for OpenFoam.

Thanks in advance!

dealenx commented 4 years ago

The problem is solved, I didn't know that a folder /hpccloud/ didn't change in a container hpccloud:celerypyfr.