CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   modify ground error (https://www.cfd-online.com/Forums/phoenics/51270-modify-ground-error.html)

enhui October 6, 2001 03:41

modify ground error
 
Hello all:

I meet with the following question when I simulate the gas/particle flow using my personal ground.for and insert them into the proper place in ground file.

On VR-Editor: options--run version--esrth--private and then:run--earth

D:\phoenics\D_PRIV1>call\phoenics\d_satell\..\d_ut ils\d_windf\windf.bat Adding DIGITAL PHOENICS to path D:\phoenics\D_PRIV1>call compile ground.for DIGITAL Visual Fortran Optimizing Compiler Version:V5.0 Copyright (c) 1997 Digital Equipment Corp. All rights reserved

ground.for D:\phoenics\D_PRIVl>pause Press any key to continue... D:\phoenics\D_PRIVl>

µ±Ç°µÄDOS´°¿Ú¹Ø±Õºó£¬µ¯³öÁíÒ»¸£º

D:\phoenics\D_PRIV1>call\phoenics\d_satell\..\d_ut ils\d_windf\windf.bat Adding DIGITAL PHOENICS to path D:\phoenics\D_PRIV1>call bldear Microsoft (R) 32-bit Incremental Linker Version 5.00 7022 Copyright (c) Microdoft Corp.1992-1997. All right reserved Copyright (c) Microdoft Corp.1992-1997. All right reserved

\phoenics\d_earth\d_windf\main.obj ground.obj

\phoenics\d_earth\d_windf\eldum.obj \phoenics\d_earth\d_windf\d_corobj\*.obj \phoenics\d_earth\d_windf\d_corobj\*.lib \phoenics\d_earth\d_windf\d_optobj\*.lib \phoenics\d_earth\d_windf\d_speobj\*.lib \phoenics\d_earth\d_windf\d_cmkobj\*.lib

phoenics\d_allpro\d_libs\d_windf\esalib.lib phoenics\d_allpro\d_libs\d_windf\gralib.lib phoenics\d_allpro\d_libs\d_windf\syslib.lib phoenics\d_allpro\d_libs\d_windf\msw*.obj phoenics\d_allpro\d_libs\d_windf\mph*.obj phoenics\d_allpro\d_libs\d_windf\pol*.obj phoenics\d_allpro\d_libs\d_windf\sentpro\sentpro.l ib phoenics\d_allpro\d_libs\d_windf\sentpro\spdf90.ob j /defaultlib:user32.lib gdi32.lib winmm.lib advapi32.lib opengl32.lib glu32.lib version.lib wininet.lib comctl32.lib comdlg32.lib dformt.lib libcmtd.lib /nodefaultlib:libc.lib dfor.lib libcmt.lib msvcrt.lib /out:temp.exe ground.obj : error LNK2001:unresolved external symbol L0F@4 temp.exe : fatal error LNK1120:1 unresolved externals File not found - temp.exe

0 file<s> copied File not found. Build Complete. D:\phoenics\D_PRIVA1>pause. press any key to continue....

D:\phoenics\D_PRIVA1>

__

Can i find any help information in the Encyklopidia? How to modify the error.

look forward to your help and thanks a lot in advance.

regards.

enhui.

Kike October 8, 2001 06:41

Re: modify ground error
 
Dear friend

This is the error message you should resolve and it comes from the Digital linker:

LNK2001:unresolved external symbol L0F@4

L0F is an PHOENICS internal integer function which gives you the location of a PHOENICS variable inside the F array. The message indicates you that the function is not recognized inside the libraries you are linking with.

Are you using an "original" building (BLDxxx) batch file? Check you are using all the PHOENICS required libraries and search in your GROUND file for a possible error (typing mistake) in L0F calls. Make sure you have the system path including compiler, linker and libraries directories.

I hope it helps you, regards

Kike


All times are GMT -4. The time now is 23:42.