CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

User Code for HPC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2019, 06:26
Post User Code for HPC
  #1
Member
 
Yogesh Nalam
Join Date: Sep 2012
Location: München, Germany
Posts: 54
Rep Power: 14
nalamyogesh is on a distinguished road
Hello,

I have written and compiled a user-code on Windows using Visual Basic. I now have a .dll file which I imported into my StarCCM+ file without any errors.

The user code runs fine on my local Windows machine, but unfortunately it doesnot run on the HPC (HPC : Unix environment)

Can anyone help me understand the problem ? Do I need to compile the code in a different way to run on HPC? Is it possible with Visual Studio?
nalamyogesh is offline   Reply With Quote

Old   February 27, 2019, 11:41
Default
  #2
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 438
Rep Power: 18
cwl is on a distinguished road
Quote:
I have written and compiled a user-code on Windows using Visual Basic. I now have a .dll file which I imported into my StarCCM+ file without any errors.

The user code runs fine on my local Windows machine, but unfortunately it doesnot run on the HPC (HPC : Unix environment)
Quote:
Do I need to compile the code in a different way to run on HPC?
Obviously.
cwl is offline   Reply With Quote

Old   February 27, 2019, 12:15
Default
  #3
Member
 
Yogesh Nalam
Join Date: Sep 2012
Location: München, Germany
Posts: 54
Rep Power: 14
nalamyogesh is on a distinguished road
Can you help me with that ?

Thanks
nalamyogesh is offline   Reply With Quote

Old   March 3, 2019, 18:54
Default
  #4
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21
bluebase will become famous soon enough
Hi Yogesh,


as cwl's short answer implies, there are some paradigms expected for someone being able to program,
for example efficiently searching the web and having some knowledge of different environments.

A first start is to consult the StarCCM manual. You obviously have done this already to compile your library. On the same pages, you should find information which tools to use to compile a code in linux/unix.

Let's just assume, your are just not familiar with unix environments.
Visual basic is mainly a microsoft specific language, isn't it? You will not find wide support in the unix world... Anyhow, for some time there is the environment called "mono" which provides vb support, you might get further with it. However, i doubt that your hpc os supports it natively. HPC software is usually chosen by stability and is kept at a minimum. Additional software usually has to be added individually. Without having some unix experience, this will be a dead end for you (or maybe a trail). Consult you hpc administrator.

The easiest for you and your environment, would be to translate your library into a more common language. c, c++, java, ... consult your hpc administrator what other options she/he might suggest.

If you feel adventurous you might try some code converters.


Best regards,
Sebastian
bluebase is offline   Reply With Quote

Reply

Tags
compiling, hpc, linux, user code


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
export field function value in user code lj0812 STAR-CCM+ 1 September 5, 2017 05:52
User fortran to input/output file in a parallel run doublestrong CFX 5 March 31, 2017 09:15
ISAAC code mesh generation morteza08 Main CFD Forum 0 June 15, 2012 10:26
Check particle impaction with User Fortran Julian K. CFX 3 January 12, 2012 10:46
user friendly cfd code waqar Main CFD Forum 19 August 18, 2000 17:31


All times are GMT -4. The time now is 08:46.