[FDS-SMV]debug results

108 views
Skip to first unread message

retno ayu

unread,
Aug 10, 2011, 10:35:16 PM8/10/11
to fds...@googlegroups.com
I've been able to build a FDS project using visual studio 2008 and intel visual fortran. I put the script on the source file at  visual studio 2008, only the script mpis.f90 I do not want to include because I want to make a parallel.

when the build is no error message that appears, shows the output from the build are:

1 >------ Rebuild All started: Project: isob_mpi, Configuration: Debug Win32 ------
1> Deleting intermediate and output files for project 'isob_mpi', configuration 'Debug | Win32'
1> Compiling ...
1> isob.c
1> Creating library ...
1> Build log was saved at "file: / / c: \ Documents and Settings \ retno \ My Documents \ Visual Studio 2008 \ Projects \ isob_mpi \ isob_mpi \ Debug \ BuildLog.htm"
1> isob_mpi - 0 error (s), 0 warning (s)
========== Rebuild All: 1 succeeded, 0 failed, 0 Skipped ==========

then I click debug -> start without debugging, then a new dialog box appears asking me to do a browse, then I browse and insert fds5_mpi.exe, then I click OK and successful path with the output as I click on the directory FDS and then click fds5_mpi.exe. whether the correct debug output generated from FDS like that?

thanks for the answers from colleagues all. I really expect a response from you. once again thank you very much

Kevin

unread,
Aug 11, 2011, 8:35:08 AM8/11/11
to FDS and Smokeview Discussions
I stopped using the Visual Studio interface several years ago. It is a
great tool for code development, but I have found that it is far
easier to describe how we compile FDS via a simple Makefile. We
maintain our makefile under version control, and we are confident that
everyone who uses it gets consistent results. I suggest you use the
makefile that is under version control to compile. For debugging, just
compile using the debug options and run the case as you normally
would. I have never found the GUI debugger to be all that useful.

retno ayu

unread,
Aug 13, 2011, 3:02:18 AM8/13/11
to fds...@googlegroups.com
Would you give me the steps to compile using a makefile? if I want to
add scripts with the extension .cuf?

thanks for the advice you give.

> --
> You received this message because you are subscribed to the Google Groups
> "FDS and Smokeview Discussions" group.
> To post to this group, send email to fds...@googlegroups.com.
> To unsubscribe from this group, send email to
> fds-smv+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/fds-smv?hl=en.
>
>

Kevin

unread,
Aug 14, 2011, 6:23:43 PM8/14/11
to FDS and Smokeview Discussions
If you are unfamiliar with makefiles, I cannot teach you how to use
them. All I can say is that makefiles are the most common ways to
compile complex source code on Unix/Linux platforms. Under Windows,
you need to install a program to use a makefile.

I recommend that you get help. You are trying to do things that
require advanced knowledge of scientific computing. I can only point
you to our makefile, but I cannot teach you how to use it.

On Aug 13, 3:02 am, retno ayu <ras.pu...@gmail.com> wrote:
> Would you give me the steps to compile using a makefile? if I want to
> add scripts with the extension .cuf?
>
> thanks for the advice you give.
>
> >http://groups.google.com/group/fds-smv?hl=en.- Hide quoted text -
>
> - Show quoted text -

Glenn Forney

unread,
Aug 14, 2011, 7:51:48 PM8/14/11
to FDS and Smokeview Discussions
Assuming that .cuf stands for CUDA Fortran and that you are trying to
modify FDS to run in a CUDA environment I would suggest that you look
around the CUDA forums. Surely they have example Makefiles for
building CUDA programs.
> > >http://groups.google.com/group/fds-smv?hl=en.-Hide quoted text -
Reply all
Reply to author
Forward
0 new messages