E-CAM / E-CAM-Library

Mirror of https://gitlab.e-cam2020.eu/e-cam/E-CAM-Library
4 stars 2 forks source link

paradis with precipitates #2

Open qingyang0315 opened 2 years ago

qingyang0315 commented 2 years ago

Thanks for your repo. I have successfully complied paradis_2.5 version. Then i have download the paradis_precipitate_GC part. i notice that there are also " default_gc_makefile.setup, default_gc_makefile_setup.srcs, default_gc_makefile.sys" however without "makefile", Do i need to excetue "make". How to run the test_example? do i need to copy the file in the folder "include" "src" "utilities" in "gc" to the folder "include" "src" "utilities" in "Paradis"? And i notice that in the file in "gc" the format are very stange as marked in 8a51e7b4d1311086bb5a546f572d49e

ocaisa commented 2 years ago

Sorry for being slow to reply to this. Be warned, I am not an expert on ParaDis at all, I can only help you with what I know.

Thanks for your repo. I have successfully complied paradis_2.5 version. Then i have download the paradis_precipitate_GC part. i notice that there are also " default_gc_makefile.setup, default_gc_makefile_setup.srcs, default_gc_makefile.sys" however without "makefile", Do i need to excetue "make".

ParaDis is licenced so we cannot provide the source code. What we have given is a diff between ParaDis 2.5 and the modifications necessary for to run the code. To use the modifcations you need to patch the ParaDis 2.5 sources with the changes provided in the Git repository and then rebuild the executables. If you are not really sure what I am talking about, maybe take a look at https://www.pair.com/support/kb/paircloud-diff-and-patch/

How to run the test_example? do i need to copy the file in the folder "include" "src" "utilities" in "gc" to the folder "include" "src" "utilities" in "Paradis"? And i notice that in the file in "gc" the format are very stange as marked in 8a51e7b4d1311086bb5a546f572d49e

I'm not exactly sure which example you are talking about, there are a few different modules under https://e-cam.readthedocs.io/en/latest/Meso-Multi-Scale-Modelling-Modules/index.html#paradis . Hopefully the details in https://e-cam.readthedocs.io/en/latest/Meso-Multi-Scale-Modelling-Modules/modules/paradis_precipitate/paradis_precipitate_GC/readme.html#building-and-testing are enough for you to figure this out.

qingyang0315 commented 2 years ago

Thanks for your careful response. I have patched the ParaDis 2.5 sources with the changes provided in the Git repository and rebuilded the executables. However, when I try to use the example "mpirun -n 1 bin/paradis test_run/ParaDiS_test/ParaDiS_test.ctrl", there are some errors as indicated in screenshots. " Time of run: Sun Jan 2 02:30:45 2022 Executable name: paradis Executable path: bin Working dir: /home/yq/Desktop/Paradis Execution host: ubuntu (Linux 5.4.0-91-generic x86_64) User name: yq Number of tasks: 1 Command line: test_run/ParaDiS_test/ParaDiS_test.ctrl



Initialize: Parsing control file test_run/ParaDiS_test/ParaDiS_test.ctrl Ignoring unrecognized parameter (writeForc) Ignoring unrecognized parameter (enforce) Initialize: Control file parsing complete Generating uniform domain decomposition.

Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted.


mpirun noticed that process rank 0 with PID 0 on node ubuntu exited on signal 11 (Segmentation fault). "