Search found 16 matches
- Thu Jan 05, 2017 8:36 am
- Forum: code_saturne usage
- Topic: Deactivate the multigrid solver for pressure
- Replies: 1
- Views: 2241
Deactivate the multigrid solver for pressure
Hello, I am using version 4.0.6 and want to set the solver to PCG(polynomial preconditionning). Although I set the "Equation parameters" Conjugate gradient via GUI, I still found the multigrid as a solver for pressure. Is this a correct set? I find the "cs_user_parameters-linear_solve...
- Wed Sep 28, 2016 12:53 pm
- Forum: code_saturne usage
- Topic: Issue when using GPU accelerators
- Replies: 1
- Views: 2275
Issue when using GPU accelerators
Hello, There seems to be something wrong outside my code as I edit the default C compiler flags(CFLAGS) to "-ta=tesla", and the feedback is accelerate the part of code as follow. _mat_vec_p_l_csr: 2239, Generating copyin(mc->val[:ms->n_rows+1],ms->row_index[:ms->n_rows+1],ms->col_id[:ms->r...
- Wed Sep 14, 2016 2:40 am
- Forum: code_saturne usage
- Topic: Using both MSR and CSR Matrix
- Replies: 5
- Views: 4350
Re: Using both MSR and CSR Matrix
Hello, Thanks a lot. That's a mistake. But when I fix the error, I still get the same problem. but If set the MSR format for the CS_MATRIX_BLOCK_D fill type. It shows that "_mat_vec_p_l_native" is the main call for CG, and _b_mat_vec_p_l_msr is the main call for block_3_jacobi. Best Regard...
- Tue Sep 13, 2016 8:44 am
- Forum: code_saturne usage
- Topic: Using both MSR and CSR Matrix
- Replies: 5
- Views: 4350
Re: Using both MSR and CSR Matrix
Hello, If I set the file(src/user_examples/cs_user_performance_tuning.c.) you mentioned, most linear systems should use CSR. But recently I find that most linear systems still use NATIVE when I use callgrind tool for the call graph. It shows that "_mat_vec_p_l_native" is the main call for ...
- Mon Sep 12, 2016 3:29 am
- Forum: code_saturne usage
- Topic: Using both MSR and CSR Matrix
- Replies: 5
- Views: 4350
Using both MSR and CSR Matrix
Hello,
The example in the file(src/user_examples/cs_user_performance_tuning.c.) you mentioned helps me to force CSR for scalar matrices but not for the velocity(version 4.0). But if I want to set MSR for the velocity and CSR for most scalar matrices, what should I do?
Best Regards,
Jackie
The example in the file(src/user_examples/cs_user_performance_tuning.c.) you mentioned helps me to force CSR for scalar matrices but not for the velocity(version 4.0). But if I want to set MSR for the velocity and CSR for most scalar matrices, what should I do?
Best Regards,
Jackie
- Mon Aug 22, 2016 9:04 am
- Forum: Discussion
- Topic: CSR matrix format
- Replies: 11
- Views: 18008
Re: CSR matrix format
Hello, Thanks a lot. As you immentioned before, I am using version 4.2 or above and want to set the solver to PCG+jacobi preconditionner. Could you tell me how to set file? Secondly, I don't know how to add the same setting for symmetric scalar matrice, Could you upload an attachment for example? Be...
- Mon Aug 15, 2016 8:02 am
- Forum: Discussion
- Topic: CS & PGI compiler
- Replies: 5
- Views: 9550
Re: CS & PGI compiler
Hi,
Thanks a lot!
I've already edited config/cs_auto_flags.sh to edit the default PGI compiler flags, including "added to $CFLAGS for profiling". So I want to get the information about PGI Compiler Feedback after compiling "the Code".
best regards,
Jackie
Thanks a lot!
I've already edited config/cs_auto_flags.sh to edit the default PGI compiler flags, including "added to $CFLAGS for profiling". So I want to get the information about PGI Compiler Feedback after compiling "the Code".
best regards,
Jackie
- Fri Aug 12, 2016 9:58 am
- Forum: Discussion
- Topic: CS & PGI compiler
- Replies: 5
- Views: 9550
Re: CS & PGI compiler
Thank you Yvan for the question.
If I want to get the PGI Compiler Feedback, which file and location should I look for?
best
Jackie
If I want to get the PGI Compiler Feedback, which file and location should I look for?
best
Jackie
- Fri Aug 12, 2016 9:44 am
- Forum: Discussion
- Topic: CSR matrix format
- Replies: 11
- Views: 18008
Re: CSR matrix format
Thank you Yvan for the question.
I replace the lines and put this file in attachment. I want to know the revise to see if it corrects.
If wrong, could you revise this file and reload?
best
Jackie
I replace the lines and put this file in attachment. I want to know the revise to see if it corrects.
If wrong, could you revise this file and reload?
best
Jackie
- Tue Aug 09, 2016 3:28 am
- Forum: Discussion
- Topic: CSR matrix format
- Replies: 11
- Views: 18008
Re: CSR matrix format
Hello, I've already read a paper named "Accelerating the Conjugate Gradient Algorithm with GPU in CFD Simulations", which mentioned CUBlas library, CUsparse library, MAGMA library and ViennaCL library. I don't know how to use these libraries in Code Saturne. And are these libraries used in...