atom feed34 messages in com.googlegroups.fds-smvRe: Problems of compiling FDS5.0 with...
FromSent OnAttachments
mayl...@gmail.comNov 15, 2007 6:42 pm 
KevinNov 16, 2007 8:32 am 
mayl...@gmail.comNov 18, 2007 6:22 pm 
KevinNov 19, 2007 5:30 am 
mayl...@gmail.comNov 19, 2007 5:21 pm 
KevinNov 20, 2007 5:40 am 
mayl...@gmail.comNov 21, 2007 12:10 am 
KevinNov 21, 2007 5:54 am 
mayl...@gmail.comNov 21, 2007 4:44 pm 
ZatarraNov 21, 2007 10:56 pm 
mayl...@gmail.comNov 21, 2007 11:40 pm 
ZatarraNov 22, 2007 3:53 am 
Hostikka SimoNov 22, 2007 3:56 am 
ZatarraNov 22, 2007 4:03 am 
ZatarraNov 22, 2007 4:09 am 
Hostikka SimoNov 22, 2007 4:37 am.png
ZatarraNov 22, 2007 5:14 am 
Hostikka SimoNov 22, 2007 5:27 am 
ZatarraNov 23, 2007 2:45 am 
ZatarraNov 23, 2007 3:52 am 
ZatarraNov 23, 2007 4:36 am 
ZatarraNov 23, 2007 5:24 am 
KevinNov 23, 2007 6:51 am 
KevinNov 23, 2007 6:51 am 
dr_jfloydNov 23, 2007 8:35 pm 
KevinNov 25, 2007 12:22 pm 
ZatarraNov 27, 2007 2:21 am 
ZatarraNov 27, 2007 2:42 am 
ZatarraNov 27, 2007 3:45 am 
KevinNov 27, 2007 5:45 am 
ZatarraNov 27, 2007 11:35 pm 
KevinNov 28, 2007 5:36 am 
ZatarraNov 28, 2007 10:43 pm 
KevinNov 29, 2007 2:51 pm 
Subject:Re: Problems of compiling FDS5.0 with VS2005+Intel Fortran Compiler
From:Kevin (mcgr@gmail.com)
Date:Nov 21, 2007 5:54:04 am
List:com.googlegroups.fds-smv

OK, but could you please print out the information I asked for in Post 7. I would like to know if there is something wrong with the text string 'REVISION_DATE'. It would be a bother for you to have to comment out this line each time you recompile.

On Nov 21, 3:11 am, "mayl@gmail.com" <mayl@gmail.com> wrote:

When I delete line 55, the program runs successfully. BTW, my os is XP.

On Nov 20, 9:41 pm, Kevin <mcgr@gmail.com> wrote:

I cannot reproduce this error.

Try adding the line below just before line 55 in main.f90

write(0,*) 'REVISION_DATE=',REVISION_DATE

and post the result. Line 55 in main.f90 is just putting together a character string for print out.

Also, try rebuilding FDS cleanly, using "Rebuild All."

Is this an XP or Vista OS?

On Nov 19, 8:22 pm, "mayl@gmail.com" <mayl@gmail.com> wrote:

This is what i have done..

C:\nist>fds5.exe room_fire.fds forrtl: severe (66): output statement overflows record, unit -5, file Internal F ormatted Write Image PC Routine Line Source fds5.exe 00C903A2 Unknown Unknown Unknown fds5.exe 00C8D630 Unknown Unknown Unknown fds5.exe 00BCA0BA Unknown Unknown Unknown fds5.exe 00BC9CD7 Unknown Unknown Unknown fds5.exe 00BCBA52 Unknown Unknown Unknown fds5.exe 00BCB0B0 Unknown Unknown Unknown fds5.exe 00B9B489 _MAIN__ 55 main.f90 fds5.exe 00C94838 Unknown Unknown Unknown fds5.exe 00C355A3 Unknown Unknown Unknown fds5.exe 00C3536D Unknown Unknown Unknown kernel32.dll 7C816FD7 Unknown Unknown Unknown

On Nov 19, 9:30 pm, Kevin <mcgr@gmail.com> wrote:

Can you explain exactly what you did, and also post the input file.

On Nov 18, 9:22 pm, "mayl@gmail.com" <mayl@gmail.com> wrote:

Thanks Kevin, Luckily, I have passed the compilation successfully. But when I tried running the fds5.exe, it came to a breakpoint at (WRITE(COMPILE_DATE,'(A)') REVISION_DATE(INDEX(REVISION_DATE,'(') +1:INDEX(REVISION_DATE,')')-1)) Since I am new to Fortran, how to solve this one.

On Nov 17, 12:32 am, Kevin <mcgr@gmail.com> wrote:

I added a wiki to the FDS Developer Site that explains how we compile under MS Visual Studio 2005 and Intel Fortran 10.1

I'd be interested if you have any comments about it.

On Nov 15, 9:42 pm, "mayl@gmail.com" <mayl@gmail.com> wrote:

I tried to compile the FDS5.0 with Visual Studios 2005 and Intel Visual Fortran Compiler 9.1. But I could not succeed in the compilation. My situation is as following. Could anyone help me solve this. Thanks a lot!

1. Create a VC++ project named as "isob" with "Static Library" checked and "Precompiled Headers" unchecked and add "isob.c". 2. Add pp_noappend to the Preprocessor Definition and succeed in compilation. 3. Create a Fortran console project named as "FDS5.0" and add all the source code. 4. Set the project dependencies to isob. 5. I have compile with both debug and release. For debug I could not compiled successfully with the result as following:

1>Linking... 1>isob.lib(isob.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fprintf already defined in LIBCMTD.lib(fprintf.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already defined in LIBCMTD.lib(_file.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fflush already defined in LIBCMTD.lib(fflush.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgheap.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgheap.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined in LIBCMTD.lib(dbgheap.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _printf already defined in LIBCMTD.lib(printf.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fclose already defined in LIBCMTD.lib(fclose.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fwrite already defined in LIBCMTD.lib(fwrite.obj) 1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fopen already defined in LIBCMTD.lib(fopen.obj) 1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (?? 0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj) 1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (?? 4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj) 1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library 1>Debug/FDS5.0.exe : fatal error LNK1169: one or more multiply defined symbols found

For the release, aftering waiting for several minutes for the linking, I finally get the errors as

Linking...

Link /OUT:"Release/fds5_serial.exe" /INCREMENTAL:NO /NOLOGO / MANIFEST / MANIFESTFILE:"D:\Test_Fortran\FDS5_solution\fds5_serial\release \fds5_serial.exe.intermediate.manifest" /SUBSYSTEM:CONSOLE "Release/ prec.obj" "Release/smvv.obj" "Release/pois.obj" "Release/devc.obj" "Release/cons.obj" "Release/type.obj" "Release/mesh.obj" "Release/ func.obj" "Release/pres.obj" "Release/wall.obj" "Release/fire.obj" "Release/ieva.obj" "Release/irad.obj" "Release/mass.obj" "Release/ part.obj" "Release/radi.obj" "Release/ctrl.obj" "Release/divg.obj" "Release/velo.obj" "Release/evac.obj" "Release/init.obj" "Release/ read.obj" "Release/dump.obj" "Release/main.obj" "d:\Test_Fortran \FDS5_solution\release\isob.lib"

Fatal compilation error: Out of memory asking for 2097160. Link: error: problem during multi-file optimization compilation (code 1) Link: error: problem during multi-file optimization compilation (code 1)

When I reset the runtime libraries to "Debug Multithreaded", the situation did not change at all.- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -- Hide quoted text -