CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   earth build (https://www.cfd-online.com/Forums/phoenics/52307-earth-build.html)

Desi November 16, 2008 17:58

earth build
 
Hi

I am in the process of inserting my own ground routine. However, the following error appears when I build either the public or private earth. I use Intel FORTRAN V10.1 and my Phoenics version is 2008.

Any advice would be much appreciated.

Cheers

Desi

Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.

main.obj ground.obj gentra.obj "c:\phoenics\d_earth\d_windf\cospmain.obj" "c:\phoenics\d_allpro\d_libs\d_windf\m_*.obj" "c:\phoenics\d_earth\d_windf\d_corobj\*.obj" "c:\phoenics\d_earth\d_windf\d_corobj\*.lib" "c:\phoenics\d_earth\d_windf\d_optobj\*.lib" "c:\phoenics\d_earth\d_windf\d_speobj\*.lib" "c:\phoenics\d_earth\d_windf\d_cmkobj\*.lib" "c:\phoenics\d_earth\d_windf\d_parobj\parlib.l ib" "c:\phoenics\d_allpro\d_libs\d_windf\esalib.li b" "c:\phoenics\d_allpro\d_libs\d_windf\gralib.li b" "c:\phoenics\d_allpro\d_libs\d_windf\syslib.li b" "c:\phoenics\d_allpro\d_libs\d_windf\msw*.obj" "c:\phoenics\d_allpro\d_libs\d_windf\mph*.obj" "c:\phoenics\d_allpro\d_libs\d_windf\pollib.li b" "c:\phoenics\d_allpro\d_libs\d_windf\phodum.ob j" "c:\phoenics\d_allpro\d_libs\d_windf\mpi\mpich.lib " "c:\phoenics\d_allpro\d_libs\d_windf\sentpro\sentp ro.lib" "c:\phoenics\d_allpro\d_libs\d_windf\sentpro\spdf9 0.obj" "c:\phoenics\d_allpro\d_libs\d_windf\flexlm\lm_new .obj" "c:\phoenics\d_allpro\d_libs\d_windf\flexlm\lmgr.l ib" "c:\phoenics\d_allpro\d_libs\d_windf\flexlm\libsb. lib" "c:\phoenics\d_allpro\d_libs\d_windf\flexlm\libcrv s.lib" "c:\phoenics\d_allpro\d_libs\d_windf\flexlm\libnoa ct.lib" /defaultlib:user32.lib gdi32.lib winmm.lib advapi32.lib version.lib wininet.lib netapi32.lib kernel32.lib comctl32.lib comdlg32.lib libcmt.lib /nodefaultlib:libc.lib msvcrt.lib libcd.lib /out:temp.exe /largeaddressaware LINK : fatal error LNK1181: cannot open input file 'libcd.lib'

steve December 5, 2008 11:55

Re: earth build
 
This is a mistake in the build script. You do no need to include libcd.lib in your build (nor do you need msvcrt.lib).

Change the line

echo /nodefaultlib:libc.lib msvcrt.lib libcd.lib >> earexe

to

echo /nodefaultlib:libc.lib >> earexe

and it should build OK.

Desi December 7, 2008 14:53

Re: earth build
 
Thanks Steve,

I contacted my software supplier who forwarded my problem on to CHAM. It turned out I was not provided with all the files to allow the earth build to run. CHAM have now provided all the files and the problem has been resolved.

Thanks again.

Desi

maher9149 March 23, 2009 06:51

open source fortran file+compile
 
hi I am a researcher I realize these memory on modeling the turbulence. I wanted to change the formula for turbulent viscosity in the software Phoenics then compiled. Please is that you know how to do this good day


All times are GMT -4. The time now is 21:38.