Comments (15)
Hi,
Mmh, strange, never heard of something like this before.
If you take the sha256sum of your img, what do you get? Does it match the sha256sum given in the readme?
from cylinder2dflowcontroldrl.
Thanks for your reply,
Actually the code is not the same, as follows:
141a0faf677f1d24d2e7643a9c763c355a18e34a7ccfc33d7ce4ef65524c004a fenics-and-more.img
What it indicates exactly?
from cylinder2dflowcontroldrl.
It means that the container you re-assembled is not identical to the initial container. That explains why it cannot be loaded.
Are you sure that you used the exact command
cat fenics-and-more.img_part.?? > fenics-and-more.img
To assemble your container, and that you had all segments? Can you try again?
from cylinder2dflowcontroldrl.
Ie do you well have all parts aa->af for performing the reconstruction?
from cylinder2dflowcontroldrl.
Yes, I'm Sure.
I have all parts aa->af and the command used is totally the same. I tried many times but got the same results.
It is strange.
from cylinder2dflowcontroldrl.
Ok. I will look at it later today and I let you know.
from cylinder2dflowcontroldrl.
Ok. Thanks for your kind help.
from cylinder2dflowcontroldrl.
I am still not back to my computer but was thinking; would you want to try with this instead?
https://github.com/jerabaul29/Cylinder2DFlowControlDRLParallel
It uses docker instead of singularity, and has enhanced functionality (using some DRL parallelization), otherwise mostly the same.
from cylinder2dflowcontroldrl.
Ok, I will try it later.
Thanks for your patience.
from cylinder2dflowcontroldrl.
Ok, so everything works, the problem is with github serving these large git-lfs files.
What I did was:
-
Go to the container folder:
https://github.com/jerabaul29/Cylinder2DFlowControlDRL/tree/master/container
-
Download by hand using the github web GUI all fragments, i.e. for each fragment 1) click on the filename 2) click on the "download" button
Once I did this and assembled the container, the container was correct and I got the right checksum. After that, the readme works as needed.
The problems seems to be that, while git-lfs should allow to check in / out large files, there is a problem due to either github or git locally when checking out these large fragment files.
I will update the readme with this information, thank you for letting me know. Can you confirm if this allows you to 1) successfully download all fragments 2) successfully assemble the container and get the right checksum 3) use the container.
from cylinder2dflowcontroldrl.
Updated the readme. Will be happy to hear if this fixes things for you too. It should :) .
from cylinder2dflowcontroldrl.
(I still recommend that you rather use the code on the parallel repo, it is better).
from cylinder2dflowcontroldrl.
Yes,
- I can download all fragments correctly.
- The checksum also matched well.
- But I still got an error when I run the code, for example , python single_runner.py in Singularity. As follows:
Singularity> python single_runner.py
[zww-System-Product-Name:15534] mca: base: component_find: unable to open /home/zww/packages/openmpi-1.10.7/opt-gfortran/lib/openmpi/mca_coll_libnbc: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/zww/packages/openmpi-1.10.7/opt-gfortran/lib/openmpi/mca_coll_libnbc.so) (ignored)
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems. This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):
mca_coll_base_comm_select(MPI_COMM_WORLD) failed
--> Returned "Not found" (-13) instead of "Success" (0)
*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
*** and potentially your MPI job)
[zww-System-Product-Name:15534] Local abort before MPI_INIT completed successfully; not able to aggregate error messages, and not able to guarantee that all other processes were killed!
Singularity>
The error is about the Open-MPI. I am not an expert on this :(
I will try to use the code on the parallel repo, but I am not sure whether the Open-MPI error will occur or not. Maybe I need to reinstall the system.
Anyway, thanks for your kind help.
Best regards.
from cylinder2dflowcontroldrl.
Update, It works!
I use the code on the parallel repo with docker.
Thanks for your sharing and kind help :)
from cylinder2dflowcontroldrl.
Ok great that it works. Are you able to use both the singularity and the docker code? I tested both yesterday on my computer it worked. Possible you need to update your singularity and or docker.
But it seems you got things to work, closing. Open new issues if you have any problems :) .
My pleasure, great that it works now :)
from cylinder2dflowcontroldrl.
Related Issues (20)
- How to customize the .xdmf file for initial conditions? HOT 7
- How the reward function working HOT 3
- No file in mesh directory HOT 5
- How to define Neumann boundary condition HOT 1
- symmetric case HOT 4
- Problem with creating a new mesh HOT 3
- about changing the geometry HOT 5
- could not connect to display ":0.0" HOT 9
- Can not get the "fenics-and-more.img" file HOT 5
- Change the model and run singlerunner from Ann_ controlled_ flow_ Singlerun folder, did not get the same result HOT 3
- New airfoil model encountered mesh convertion probelm HOT 2
- About Q<0.06 HOT 1
- Lift fluctuations resulting from DRL training using the OpenFOAM platform HOT 2
- Negative drag values while training HOT 4
- issues about running single_runner.py HOT 10
- higher Reynolds problem HOT 1
- Download the Singularity container HOT 2
- problems about singularity container parts HOT 3
- Using Dolphin Expression HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cylinder2dflowcontroldrl.