|
[Sponsors] |
April 9, 2002, 08:06 |
User subroutines
|
#1 |
Guest
Posts: n/a
|
We have some problems with library.dll and subroutines. When we start a new calculation STAR don't use our subroutines and says that can activate them but not use. That's all. Anybody have an idea? Thanks
Mir & And |
|
April 9, 2002, 13:09 |
Re: User subroutines
|
#2 |
Guest
Posts: n/a
|
how come you don't call tech support regarding this problem...this would probably have been answered right away. In any case, since it sounds like you are using the windows version...
you get the message that the routines are activated but not used when star is using the dummy subroutines that are contained in libusr.dll or libusr_dp.dll. are you sure that your user subroutines compiled properly? To check, perform a "stardll -s -o" at a command prompt in your working directory (or stardll -d -o for double precision) and look at the output on the screen. is your absoft compiler installed properly? Do you have the ABSOFT environment variable? Is ABSOFT\bin in your path? Is ABSOFT\lib in your LIB variable? Is ABSOFT\cinclude in your INCLUDE variable? are you using absoft fortran 7.0? Your problem may simply be due to the absoft bug where it does not recognise the !Q19 compiler directive which is used to compile the dll. If you are using absoft 7.0, simply replace all instances of !Q19 with +Q19 in stardll.bat which is in your stardir/bin directory. kevin |
|
April 9, 2002, 13:37 |
Re: User subroutines
|
#3 |
Guest
Posts: n/a
|
Thank for your suggestiojns, but it still doesn't work correctly. The envirnment variables are setted in the right manner. We changef !Q19 in +Q19. Stardll -s-o says this: " Preparing single-precision libusr.dll ... bcdefi.f bcdeft.f posdat.f Creating libusr.dll ... . Single-precision libusr.dll successfully created. You must keep your user DLLs in your working directory to use them."
We contacted technical support, but you answered first, as always happens! Mir & And |
|
April 9, 2002, 13:42 |
Re: User subroutines
|
#4 |
Guest
Posts: n/a
|
hmm, then perhaps check your PATH variable...it may be that you have stardir/solve/dynamic in your path when it should not be.
|
|
April 9, 2002, 13:54 |
Re: User subroutines
|
#5 |
Guest
Posts: n/a
|
Thank, but we don't have dynamic solver and Path environment variable is setted correctly. An italian expression about this problem: "Boh?!?"
Miriam & And |
|
April 9, 2002, 16:40 |
Re: User subroutines
|
#6 |
Guest
Posts: n/a
|
Hallo Mir,
it seems to me that the path for the compiler is not accepted from the Windows System. The reason for that could be that too many environmental variables are set. Surprisingly STAR-CD sets 26 variables although it is known that Windows NT/2000 is only capable of treating 24. This means it is absolute neccesary that no additional software is installed apart from Star-CD and the compiler. So try to lower the number of the enviromental variables. I hope this helps regards James |
|
April 10, 2002, 11:43 |
Re: User subroutines
|
#7 |
Guest
Posts: n/a
|
Hallo James, have you an idea about environment variables that i could delete? To eliminate acrobat variables is it a good manner? I already deleted the GT Power environment variables, but i have always the same problem. I tried to use bcdefi user subroutine rather my bcdeft and the message error label was 502 (first 548). I view your message in january, do i find fortran60 to work correctly with W2k?
Thank you Mir |
|
April 11, 2002, 04:53 |
Re: User subroutines
|
#8 |
Guest
Posts: n/a
|
Just switch to the linux version.
|
|
April 11, 2002, 09:49 |
Re: User subroutines
|
#9 |
Guest
Posts: n/a
|
Hello Mir,
STAR-CD works excellent with the the absoft compiler version 6.0 under WIN2000. In reference to the variables I have defined an user called "staruser" and then I have copied some systemvariables to the uservariables window. This means define the following variables as a uservariable and delete them from the systemsvariable menu. Variable Value ABSOFT C:\Absoft60 INCLUDE C:\Absoft60\cinclude LIB C:\Absoft60\lib PATH C:\Absoft60\bin NUTCROOT C:\progra~1\NUTCROOT ROOTDIR C:\progra~1\NUTCROOT TERM nutc SHELL C:\progra~1\NUTCROOT\mksnt\sh.exe With this configuration the system should work. But I have only tested it with Absoft 6.0 good luck James |
|
April 15, 2002, 14:36 |
Re: User subroutines
|
#10 |
Guest
Posts: n/a
|
Hi James,
do you have a reference about this environment variable limit in windows? I do not believe I have experienced it, but I would like to know more about it. kevin |
|
May 4, 2002, 17:16 |
Re: User subroutines
|
#11 |
Guest
Posts: n/a
|
Hello Kevin,
if you want to experience the operating system failures caused by STAR-CD's enviromental variables do the following: 1. Install another program like ICEMCFD 4.2 or PATRAN 2. Try to start one of them. They work properly. 3. Then install STAR-CD and Absoft 7.0 4. Try to start again ICEMCFD or PATRAN or ..., you will realize that these programs don't work anymore. 5. Reduce the number of enviromental variables smaller then 24. 6. Try to restart Patran or ICEM again 7. They work properly This is also the reason why for example PATRAN uses only 1!!! variable instead of 26 like STAR-CD. I hope this will be respected for the future releases of STAR-CD best regards James |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
user subroutines | vladimir | Siemens | 7 | October 12, 2004 14:59 |
User subroutines and STAR-HPC v3.2 | Lars Ola Liavåg | Siemens | 0 | August 17, 2004 02:56 |
User subroutines | Meiring | Siemens | 5 | January 17, 2003 01:14 |
user subroutines in Star-CD | Zeng | Siemens | 5 | March 21, 2002 04:43 |
user subroutines in CFX | Zeng | CFX | 3 | March 19, 2002 20:35 |