A user library is created from its constituent user function(s) and a library registration function. STAR-CCM+ does not require a particular compiler to be used for this process. For a selection of generic compilers, the table below gives the basic commands to create a library with base-name user from C or Fortran source files. Optional compilation flags, such as for optimization, can also be used; consult the compiler manual for more information. Compilers not listed in this table may also be used.
|
Compiler
|
|
Compilation Command
|
|---|---|---|
| GCC |
|
|
| GNU Fortran 77 |
|
|
| G95 |
|