{"id":75,"date":"2013-04-19T15:47:20","date_gmt":"2013-04-19T15:47:20","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=75"},"modified":"2019-01-08T09:28:25","modified_gmt":"2019-01-08T09:28:25","slug":"cfx","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/cfx\/","title":{"rendered":"CFX"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>CFX is a general purpose fluid dynamics product from <a href=\"http:\/\/www.ansys.com\/Products\/Simulation+Technology\/Fluid+Dynamics\/Fluid+Dynamics+Products\/ANSYS+CFX\">ANSYS<\/a>. <\/p>\n<h2>Restrictions on use<\/h2>\n<p>CFX is installed alongside fluent. You will need to be in the fluent unix group to access it. Only MACE users may be added to the fluent group. <\/p>\n<h2>Set up procedure<\/h2>\n<p>You must load <em>one<\/em> of the following modulefiles to access CFX. Several versions are available:<\/p>\n<pre>\r\nmodule load apps\/binapps\/cfx\/19.0\r\nmodule load apps\/binapps\/cfx\/18.1\r\nmodule load apps\/binapps\/cfx\/18.0\r\nmodule load apps\/binapps\/cfx\/16.2\r\nmodule load apps\/binapps\/cfx\/14.5\r\nmodule load apps\/binapps\/cfx\/14.0\r\n<\/pre>\n<p>If you wish to compile your own user-defined routines (e.g., a fortran .F file to be compiled in to your simulation), you should also load one of the Intel Compiler Fortran modulefiles. For example:<\/p>\n<pre>\r\nmodule load compilers\/intel\/fortran\/17.0.2\r\n<\/pre>\n<p>See the <a href=\"\/csf-apps\/software\/applications\/compilersintel\/\">CSF Intel Compiler page<\/a> for more details of available versions.<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run CFX on the login node.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Make sure you have the modulefile loaded and your input file available on the CSF. Then write a batch submission script, for example:<\/p>\n<pre class=\"in1\">\r\n     #$ -V\r\n     #$ -cwd\r\n\r\n     cfx5solve -def CombustorEDM.def\r\n<\/pre>\n<p>Now submit it to the batch system:<\/p>\n<pre class=\"in1\">\r\n     qsub scriptname\r\n<\/pre>\n<p>replacing <code>scriptname<\/code> with the name of your submission script.<\/p>\n<h3>Parallel batch job submission<\/h3>\n<ol>\n<li>Make sure you have the modulefile loaded and your input file available on the CSF in the directory you wish to run the job. Then create a batch submission script in that directory, for example:\n<pre class=\"in1\">\r\n#$ -V\r\n#$ -cwd\r\n#$ -pe fluent-smp.pe 4\r\n\r\ncfx5solve -start-method \"$PLATMPI\" -def CombustorEDM.def -par-local -partition $NSLOTS\r\n<\/pre>\n<p>Notes about the script:<\/p>\n<ul>\n<li><code>-start-method \"$PLATMPI\"<\/code> (including the quotes as shown) is important and ensures that the most suitable MPI is used.<\/li>\n<li><code>-partition $NSLOTS<\/code> (no quotes needed here) is important to ensure that the number of cores requested is used.<\/li>\n<li>You MUST use <code>fluent-smp.pe<\/code> as this is a special configuration to ensure the software runs correctly in batch<\/li>\n<li>Minimum number of cores for parallel CFX jobs is 2, maximum is 4. You may run more than one job at a time if there are resources available.<\/li>\n<\/ul>\n<li>Now submit it to the batch system:\n<pre class=\"in1\">\r\n     qsub scriptname\r\n<\/pre>\n<\/li>\n<p>replacing <code>scriptname<\/code> with the name of your submission script.\n<\/li>\n<\/ol>\n<h3>Errors<\/h3>\n<p>The SGE\/batch error output file e.g. <code>mycfxjob.e12345<\/code> may report:<\/p>\n<pre>\r\nmap size mismatch; abort\r\n: File exists\r\n<\/pre>\n<p>several times. This is common and does not cause a problem to running jobs.<\/p>\n<h3>Interactive use<\/h3>\n<p>Please do not run the GUI on the login node. If you require the GUI please run it via <code>qrsh<\/code>. <\/p>\n<ul>\n<li>Log into the CSF with <a href=\"\/csf2UserInfo#Using_X-Windows:__GUI-Based_Applications\">X11 enabled<\/a>.<\/li>\n<li>Make sure you have the modulefile loaded:<\/li>\n<\/ul>\n<pre class=\"in1\">module load apps\/binapps\/cfx\/14.0<\/pre>\n<ul>\n<li>Use qrsh to start the GUI on a compute node:<\/li>\n<pre>     qrsh -V -l inter -l twoday cfx5<\/pre>\n<\/ul>\n<p>If you get the error &#8216;Your &#8220;qrsh&#8221; request could not be scheduled, try again later!&#8221;&#8216; it means that there are no interactive resources available. You can try &#8216;-l short&#8217; instead of &#8216;-l twoday&#8217; or submit as a serial job instead.<\/p>\n<p><a href=\"\/csf2UserInfo\/sge\/qrsh\">CSF qrsh documentation<\/a>.<\/p>\n<h2>Further info<\/h2>\n<p>Documentation is available via the GUI.<\/p>\n<h2>Updates<\/h2>\n<p>Additional updates made to the package if appropriate<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview CFX is a general purpose fluid dynamics product from ANSYS. Restrictions on use CFX is installed alongside fluent. You will need to be in the fluent unix group to access it. Only MACE users may be added to the fluent group. Set up procedure You must load one of the following modulefiles to access CFX. Several versions are available: module load apps\/binapps\/cfx\/19.0 module load apps\/binapps\/cfx\/18.1 module load apps\/binapps\/cfx\/18.0 module load apps\/binapps\/cfx\/16.2 module load apps\/binapps\/cfx\/14.5.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/cfx\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-75","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":18,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/75\/revisions"}],"predecessor-version":[{"id":4974,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/75\/revisions\/4974"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/31"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/media?parent=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}