User:Ioifot

You recently posted a question in the discussion page for the main VisIt wiki page. This is not the correct venue to do this. That page is for discussion about the wiki page itself, not about VisIt. Either post a question on our forum: http://www.visitusers.org/forum/forum.pl or send an email to visit-users@ornl.gov.

Before I deleted your wiki post, I copied the contents of your wiki page here.

Sean 08:48, 23 February 2009 (CST)

Visit is really atractive tools for engineers. I downloaded visit 1.11.1 and used to diplay my results But only bov format. I want to write the silo files but following error occured

1>------ Build started: Project: silo, Configuration: Debug Win32 ------ 1>Linking... 1>projectsilo.obj : error LNK2019: unresolved external symbol _DBCREATE referenced in function _MAIN__ 1>projectsilo.obj : error LNK2019: unresolved external symbol _DBCLOSE referenced in function _MAIN__ 1>Debug\silo.exe : fatal error LNK1120: 2 unresolved externals 1> 1>Build log written to "file://C:\Documents and Settings\원자핵\바탕 화면\류은현\fortran examples\silo\silo\Debug\BuildLog.htm" 1>silo - 3 error(s), 0 warning(s)

==== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ====

I use window XP and visual studio+inter fortran compiler. why above error appeared in my pc? In my opinion, that problem is related with multithread. But I don't know exactly

the questions are 1. Is it right that the problem is related with multithread? 2. whether first question is right or wrong, what can i do to write silo file (exactly what should I do to use silo library,silohdf5.lib)

please answer the question

from Nuclear Engineering Labratory of Seoul National University


Please STOP posting questions into the wiki discussion page. As I mentioned above, this is NOT the right place to post this. Here is your post for reference. Sean 10:05, 24 February 2009 (CST)

visit questions

Visit is really atractive tools for engineers. I downloaded visit 1.11.1 and used to diplay my results But only bov format. I want to write the silo files but following error occured

1>------ Build started: Project: silo, Configuration: Debug Win32 ------ 1>Linking... 1>projectsilo.obj : error LNK2019: unresolved external symbol _DBCREATE referenced in function _MAIN__ 1>projectsilo.obj : error LNK2019: unresolved external symbol _DBCLOSE referenced in function _MAIN__ 1>Debug\silo.exe : fatal error LNK1120: 2 unresolved externals 1> 1>Build log written to "file://C:\Documents and Settings\원자핵\바탕 화면\류은현\fortran examples\silo\silo\Debug\BuildLog.htm" 1>silo - 3 error(s), 0 warning(s) visit questions

Visit is really atractive tools for engineers. I downloaded visit 1.11.1 and used to diplay my results But only bov format. I want to write the silo files but following error occured

1>------ Build started: Project: silo, Configuration: Debug Win32 ------ 1>Linking... 1>projectsilo.obj : error LNK2019: unresolved external symbol _DBCREATE referenced in function _MAIN__ 1>projectsilo.obj : error LNK2019: unresolved external symbol _DBCLOSE referenced in function _MAIN__ 1>Debug\silo.exe : fatal error LNK1120: 2 unresolved externals 1> 1>Build log written to "file://C:\Documents and Settings\원자핵\바탕 화면\류은현\fortran examples\silo\silo\Debug\BuildLog.htm" 1>silo - 3 error(s), 0 warning(s) New question

hellow thank you for interest in my questions

followings are my orinal code


program abc implicit none include "silo.inc" integer :: dbfile, ierr ierr=dbcreate("fbasic.silo", 11, db_clobber, db_local,"comment about the dat",22,db_hdf5,dbfile) if(dbfile.eq.-1) then write (6,*) 'could not create silo file!\n' goto 10000 end if ierr=dbclose(dbfile) 10000 stop end program abc


in fortran90 source file above code is in manual of "getting data into visit" and i followed it but it has following error

==============================================================

1>------ Build started: Project: silolink, Configuration: Debug Win32 ------ 1>Compiling with Intel(R) Fortran Compiler 10.1.021 [IA-32]... 1>silolink.F90 1>Linking... 1>silolink.obj : error LNK2019: unresolved external symbol _DBCREATE referenced in function _MAIN__ 1>silolink.obj : error LNK2019: unresolved external symbol _DBCLOSE referenced in function _MAIN__ 1>Debug\silolink.exe : fatal error LNK1120: 2 unresolved externals 1> 1>Build log written to "file://C:\silolink\silolink\Debug\BuildLog.htm" 1>silolink - 3 error(s), 0 warning(s)

from ryu eun hyun in labratory of seoul national university

==== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ====
=================================================================

so i questioned. i included "silo.inc" for fortran, and set path to "silohdf5.lib" to use functions in there.

by the following advice, __________________________________________________________________________ Hello,

Your problem is only related to a link from a Fortran application to functions defined in libsilo, nothing to do with multithreaded. You should have written something like: integer(KIND=4) :: dbfilehandle, errorstatus

    errorstatus = dbclose(dbfilehandle)

in your fortran source code.

Then you must have configured your project to find the path to the silo library and include it at link time, as you would do for any library.

I hope it helps. _____________________________________________________________________________ so i fixed the code as below


program abcd implicit none include "silo.inc" integer(kind=4) :: dbfilehandle, errorstatus errorstatus=dbcreate("fbasic.silo", 11, db_clobber, db_local,"comment about the dat",22,db_hdf5,dbfilehandle) if(dbfilehandle.eq.-1) then write (6,*) 'could not create silo file!\n' goto 10000 end if errorstatus=dbclose(dbfilehandle) 10000 stop end program abcd


but still same error message occured

what can i do?