|
[Sponsors] |
February 27, 2019, 06:26 |
User Code for HPC
|
#1 |
Member
Yogesh Nalam
Join Date: Sep 2012
Location: München, Germany
Posts: 54
Rep Power: 14 |
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? |
|
February 27, 2019, 11:41 |
|
#2 | ||
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 438
Rep Power: 18 |
Quote:
Quote:
|
|||
February 27, 2019, 12:15 |
|
#3 |
Member
Yogesh Nalam
Join Date: Sep 2012
Location: München, Germany
Posts: 54
Rep Power: 14 |
Can you help me with that ?
Thanks |
|
March 3, 2019, 18:54 |
|
#4 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
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 |
|
Tags |
compiling, hpc, linux, user code |
|
|
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 |