Search found 12 matches
- Wed Aug 31, 2022 7:34 am
- Forum: code_saturne usage
- Topic: question regarding changing souce code
- Replies: 1
- Views: 2041
question regarding changing souce code
Hi, I'm trying to change a little part of the source code so that it might be possible to run with CPU+GPU. I'm wondering if if want to change the function _compute_cocgb_rhsb_lsq which is wrote in file src/alge/cs_gradient.c , do I need to change the file itself and recompile the whole software? or...
- Thu Aug 11, 2022 3:15 am
- Forum: code_saturne usage
- Topic: Question regarding openmp usage
- Replies: 3
- Views: 2299
Re: Question regarding openmp usage
Hello, When compiling with OpenMP support (the default for code_saturne), when the compiler encounters an OpenMP section, it "outlines" the contained code, and generates a function matching that section, using names such as the ones you observed. Then, when running, it will run that funct...
- Wed Aug 10, 2022 8:56 am
- Forum: code_saturne usage
- Topic: Question regarding openmp usage
- Replies: 3
- Views: 2299
Question regarding openmp usage
Hi, I am running the tutorial test cases with 1 opennmp thread and 1 processor, and I found that somehow in the hotspots most of the functions ended with ._omp_fn_.x with multiple times appreance such as _p_sym_gauss_seidel_msr._omp_fn.3 _p_sym_gauss_seidel_msr._omp_fn.1 this is the hostpot list gen...
- Fri Aug 05, 2022 3:53 am
- Forum: code_saturne usage
- Topic: Problem rearding submitting job to cluster
- Replies: 11
- Views: 5450
Re: Problem rearding submitting job to cluster
Hello, I'll check the code. We have never encountered this issue, but I wonder whether it might be due to latency/delays in the filesystem operation leading to a directory not being empty yet. Not sure, just guessing, but I'll see if I can make the code more robust there. In the meantime, as a work...
- Tue Aug 02, 2022 2:15 am
- Forum: code_saturne usage
- Topic: Problem rearding submitting job to cluster
- Replies: 11
- Views: 5450
Re: Problem rearding submitting job to cluster
Hello, I'll check the code. We have never encountered this issue, but I wonder whether it might be due to latency/delays in the filesystem operation leading to a directory not being empty yet. Not sure, just guessing, but I'll see if I can make the code more robust there. In the meantime, as a work...
- Mon Aug 01, 2022 8:53 am
- Forum: code_saturne usage
- Topic: Problem rearding submitting job to cluster
- Replies: 11
- Views: 5450
Re: Problem rearding submitting job to cluster
Hello, Did you need to modify the code, or simply change some settings in your cluster environment ? Regards, Yvan Hi, It does not work now somehow. I found the error to be it tries to delete the folder /case1/RESU/20220801-1544/checkpoint/previous_dump_0000 and this folder has two files in it (mai...
- Fri Jul 29, 2022 8:31 am
- Forum: code_saturne usage
- Topic: Problem rearding submitting job to cluster
- Replies: 11
- Views: 5450
Re: Problem rearding submitting job to cluster
Hello, This might be due some limited or restricted features on your filesystem, but has not been observed on another machine to my knowledge. Could you provide details on your system and build ? Regards, Yvan I just found that the compute node does not have command rmdir . It works fine now. Best ...
- Fri Jul 29, 2022 2:22 am
- Forum: code_saturne usage
- Topic: Problem rearding submitting job to cluster
- Replies: 11
- Views: 5450
Re: Problem rearding submitting job to cluster
Hi, I am using gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC), I believe the compute node has the same setup. I built Code saturne 7.1.1 with this configure command: ./configure --prefix=/home/software/code_saturne2/install-parallel CC=mpicc CXX=mpicxx FC=mpifort F9X=mpifort AR=sw9ar NM=swnm RA...
- Thu Jul 28, 2022 8:44 am
- Forum: code_saturne usage
- Topic: Problem rearding submitting job to cluster
- Replies: 11
- Views: 5450
Re: Problem rearding submitting job to cluster
Thanks for your advise, it worked. But after the calculation it got stuck on this cs_file.c:4661: Fatal error. Error removing file "checkpoint/previous_dump_0000": Destination address required Call stack: 1: 0x4ffff08f723c ? (?) 2: 0x4ffff053793c ? (?) 3: 0x4ffff04952f8 ? (?) 4: 0x4ffff041...
- Thu Jul 28, 2022 3:56 am
- Forum: code_saturne usage
- Topic: Problem rearding submitting job to cluster
- Replies: 11
- Views: 5450
Problem rearding submitting job to cluster
Hi, I am trying to use code saturne on my working HPC ,and its login nodes and compute nodes are using different cpu setup, so I used the cross compile option during the installation. The installation was fine, but realize that when code_saturne was executed ,it will first run the python scripts and...