CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

DUNS compile with VC++, VF or gcc/g77 in PC

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By blade

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2005, 13:38
Default DUNS compile with VC++, VF or gcc/g77 in PC
  #1
Ali Irvi
Guest
 
Posts: n/a
I know in this forum there are many experts and gurus.

Can any body here help me how to make and compile DUNS in PC? I am absolutly beginner in compiling stuff! So please any body help!

I don't know how to work with cygwin, I don't know either how gcc works! I just know how to compile a FORTRAN and c++ file with VC6 and VF. Moreover, I really scare of linux and I know I cannot start to work with linux at all!!

Does anyone please can help me to compile with cygwin, gcc or g77 or send me the compiled binery of DUNS?

Thank you very much in advanced. Ali
  Reply With Quote

Old   April 13, 2005, 12:17
Default Re: DUNS compile with VC++, VF or gcc/g77 in PC
  #2
Finn
Guest
 
Posts: n/a
Today working with Linux is almost easier than working with Windows if you use one of the "big" distributions.

regards
  Reply With Quote

Old   April 20, 2005, 05:59
Default Re: DUNS compile with VC++, VF or gcc/g77 in PC
  #3
Ali Irvi
Guest
 
Posts: n/a
Why you linux users are so obsessive with PC users?

Imagine tomorrow there would come a fantastic 'unix_xx_2007' system that have some better features than linux, now I ask you?: WOULD YOU MIND TO REMOVE YOUR LINUX AWAY AND FORMAT YOUR HARD DISK´AND INSTALL SUCH NEW SYSTEM??

The same is with me! I have my pc with tens of installed softwares. I cannot simply format my hard disk and install a liunux!!

So if you really wanna help, just answer the question! How can one compile duns with gcc or g77 with cygwin?

Best regards,

Ali
  Reply With Quote

Old   April 20, 2005, 06:48
Default Re: DUNS compile with VC++, VF or gcc/g77 in PC
  #4
Tom (different one)
Guest
 
Posts: n/a
Actually it would be pretty much painless replacing the Linux system while leaving your work directories as they were (you wouldn't need reformat the harddisk to install another unix type os).

As for your pc - most linux distros will re-partition your harddisk for you (i.e. shrink your windows partition without wiping the disk completely) to make room for the linux OS. If you do this then when you boot your computer you will have a choice of using windows or linux.
  Reply With Quote

Old   February 14, 2010, 18:11
Default
  #5
New Member
 
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16
blade is on a distinguished road
Quote:
Originally Posted by Ali Irvi
;33897
I know in this forum there are many experts and gurus.

Can any body here help me how to make and compile DUNS in PC? I am absolutly beginner in compiling stuff! So please any body help!

I don't know how to work with cygwin, I don't know either how gcc works! I just know how to compile a FORTRAN and c++ file with VC6 and VF. Moreover, I really scare of linux and I know I cannot start to work with linux at all!!

Does anyone please can help me to compile with cygwin, gcc or g77 or send me the compiled binery of DUNS?

Thank you very much in advanced. Ali
Hello, there. I know how to compile and run duns using vc++ plus VF.
Do you still need it?
I can do it for you.
blade is offline   Reply With Quote

Old   December 11, 2010, 09:11
Default
  #6
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
trying to compile it under Ubuntu10.04 with gcc+g95
and also under xp with gcc4.5.

No luck till now.
shirazbj is offline   Reply With Quote

Old   December 11, 2010, 09:59
Default
  #7
New Member
 
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16
blade is on a distinguished road
Quote:
Originally Posted by shirazbj View Post
trying to compile it under Ubuntu10.04 with gcc+g95
and also under xp with gcc4.5.

No luck till now.
see details at
http://www.cfluid.com/bbs/viewthread...extra=page%3D1
blade is offline   Reply With Quote

Old   December 11, 2010, 10:29
Default
  #8
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Quote:
Originally Posted by blade View Post
It seems one module is missing there. I asked there.
shirazbj is offline   Reply With Quote

Old   December 13, 2010, 01:43
Default
  #9
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
succeeded in compiling yours with gcc under xp.
Will try to compile the original one.
thx
shirazbj is offline   Reply With Quote

Old   December 13, 2010, 04:17
Default
  #10
New Member
 
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16
blade is on a distinguished road
Quote:
Originally Posted by shirazbj View Post
succeeded in compiling yours with gcc under xp.
Will try to compile the original one.
thx
thanks for the update.
I would like to let you know that, the original source code can be compiled successfully, but it does have quite a few small bugs which can be annoying. I will try digging out my revised one and putting it on cfluid.com.
Enjoy yourself.
blade is offline   Reply With Quote

Old   December 13, 2010, 08:11
Default
  #11
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
I can compile the soureforge one under xp with gcc now. I was trying to see if i can do it.

Not intend to use that code to do any simulation. maybe just to get some idea with reaction calculation.

thx for ur help.
shirazbj is offline   Reply With Quote

Old   June 23, 2014, 22:47
Default
  #12
New Member
 
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 4
Rep Power: 11
ChicoElizio is on a distinguished road
Quote:
Originally Posted by blade View Post
Hello, there. I know how to compile and run duns using vc++ plus VF.
Do you still need it?
I can do it for you.
Hello Blade. I'm PhD student and I'm trying to compile and run the DUNS program. I've tried to use gcc on Ubuntu 12.10 LTS and the error was/usr/lib/ld lgcc_s not found. Could you help me? I've tried all the possibilities that I found. Thank you for your attention.

ChicoElizio
ChicoElizio is offline   Reply With Quote

Old   June 24, 2014, 03:18
Default
  #13
New Member
 
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16
blade is on a distinguished road
Quote:
Originally Posted by ChicoElizio View Post
Hello Blade. I'm PhD student and I'm trying to compile and run the DUNS program. I've tried to use gcc on Ubuntu 12.10 LTS and the error was/usr/lib/ld lgcc_s not found. Could you help me? I've tried all the possibilities that I found. Thank you for your attention.

ChicoElizio
hello,sir
I think you need to locate the library file of libgcc_s.a or libgcc_s.so and specify its path in the makefile.

Best regards
blade
ChicoElizio likes this.
blade is offline   Reply With Quote

Old   July 14, 2014, 13:48
Default Duns
  #14
New Member
 
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 4
Rep Power: 11
ChicoElizio is on a distinguished road
Quote:
Originally Posted by blade View Post
hello,sir
I think you need to locate the library file of libgcc_s.a or libgcc_s.so and specify its path in the makefile.

Best regards
blade

Hello Blade

The DUNS code is compiled. Thank you for your tip about the locate the librrary.
Now I'm trying to run the exemple of cylinder (serial) with the duns.script2 original without change and received the following message:

.
.
.
.
**** nblock: 14 ****
**** nmx: 22096 ****

**** iblock: 10 ****
**** iblkmx: 42600 ****
**** iimx: 162 ****
**** iimx2: 82 ****

**** surfmax: 600 ****
**** bindmax: 318 ****
number of interior ghost cells : 1640
allocation problem in getintgc.
nintgc = 1640, nsmall2 = 1000
recompile code such that nsmall2>=nintgc
Exiting DUNS program with value 1.

How can I fix this problem?

Thanks again for your patience.

ChicoElizio
ChicoElizio is offline   Reply With Quote

Old   July 15, 2014, 05:08
Default
  #15
New Member
 
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16
blade is on a distinguished road
Quote:
Originally Posted by ChicoElizio View Post
Hello Blade

The DUNS code is compiled. Thank you for your tip about the locate the librrary.
Now I'm trying to run the exemple of cylinder (serial) with the duns.script2 original without change and received the following message:

.
.
.
.
**** nblock: 14 ****
**** nmx: 22096 ****

**** iblock: 10 ****
**** iblkmx: 42600 ****
**** iimx: 162 ****
**** iimx2: 82 ****

**** surfmax: 600 ****
**** bindmax: 318 ****
number of interior ghost cells : 1640
allocation problem in getintgc.
nintgc = 1640, nsmall2 = 1000
recompile code such that nsmall2>=nintgc
Exiting DUNS program with value 1.

How can I fix this problem?

Thanks again for your patience.

ChicoElizio
Hello,Sir
you can find a file called parameters or parameter which I do not remember clearly. The file should be in the same directory of the source codes.
Open this file, change the value of nsmall2 to 1640 for this case.
If the problem persists, have a look at the message to get a clue.
Best regards
Dingxi Wang
blade is offline   Reply With Quote

Old   July 16, 2014, 11:04
Default
  #16
New Member
 
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 4
Rep Power: 11
ChicoElizio is on a distinguished road
Quote:
Originally Posted by blade View Post
Hello,Sir
you can find a file called parameters or parameter which I do not remember clearly. The file should be in the same directory of the source codes.
Open this file, change the value of nsmall2 to 1640 for this case.
If the problem persists, have a look at the message to get a clue.
Best regards
Dingxi Wang

RUNNING!!! The file "parameters" must be in the same directory where the files are compiled. Your help has been of great importance. Once again thank you very so much.

Francisco (ChicoElizio)
ChicoElizio is offline   Reply With Quote

Old   July 16, 2014, 11:17
Default
  #17
New Member
 
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16
blade is on a distinguished road
Quote:
Originally Posted by ChicoElizio View Post
RUNNING!!! The file "parameters" must be in the same directory where the files are compiled. Your help has been of great importance. Once again thank you very so much.

Francisco (ChicoElizio)
Congratulations! Enjoy using DUNS.

In case you do not know, I ever wrote a pre-processing GUI for DUNS. You can visit the open discussion page of DUNS at the sourceforge website to find the link.

Last edited by blade; July 16, 2014 at 11:35. Reason: to complete information
blade is offline   Reply With Quote

Old   August 6, 2014, 10:19
Default
  #18
New Member
 
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 4
Rep Power: 11
ChicoElizio is on a distinguished road
Quote:
Originally Posted by blade View Post
Congratulations! Enjoy using DUNS.

In case you do not know, I ever wrote a pre-processing GUI for DUNS. You can visit the open discussion page of DUNS at the sourceforge website to find the link.
How are you Blade?
I used a pre-processing GUI for DUNS you wrote, it's very good and useful.

I'm having problems when the case is with chemical reaction (rbcc) at the end of the calculation DUNS sends the message as described below.
Do you have any idea of the solution?
Have you know a 3D exemple?
Thanks again for your attention.


Francisco

ita-gtc@itagtc-W240HU-W250HUQ:~/Docu...2.7.1-test.tar/duns-2.7.1-test/duns-2.7.1/test/serial/rbcc$ ./duns-opt.e -nv > out6.dat
*** buffer overflow detected ***: ./duns-opt.e terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb765b0e5]
/lib/i386-linux-gnu/libc.so.6(+0x103eba)[0xb7659eba]
/lib/i386-linux-gnu/libc.so.6(+0x1031ed)[0xb76591ed]
./duns-opt.e[0x804cedf]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb756f4e3]
./duns-opt.e[0x8049161]
======= Memory map: ========
08048000-080fe000 r-xp 00000000 08:06 677644 /home/ita-gtc/Documentos/Programa/duns-2.7.1-test.tar/duns-2.7.1-test/duns-2.7.1/test/serial/rbcc/duns-opt.e
080fe000-080ff000 r--p 000b5000 08:06 677644 /home/ita-gtc/Documentos/Programa/duns-2.7.1-test.tar/duns-2.7.1-test/duns-2.7.1/test/serial/rbcc/duns-opt.e
080ff000-08102000 rw-p 000b6000 08:06 677644 /home/ita-gtc/Documentos/Programa/duns-2.7.1-test.tar/duns-2.7.1-test/duns-2.7.1/test/serial/rbcc/duns-opt.e
08102000-0b53a000 rw-p 00000000 00:00 0
0b8cf000-0b8f0000 rw-p 00000000 00:00 0 [heap]
b751c000-b7538000 r-xp 00000000 08:06 4326229 /lib/i386-linux-gnu/libgcc_s.so.1
b7538000-b7539000 r--p 0001b000 08:06 4326229 /lib/i386-linux-gnu/libgcc_s.so.1
b7539000-b753a000 rw-p 0001c000 08:06 4326229 /lib/i386-linux-gnu/libgcc_s.so.1
b7555000-b7556000 rw-p 00000000 00:00 0
b7556000-b76fa000 r-xp 00000000 08:06 4336577 /lib/i386-linux-gnu/libc-2.15.so
b76fa000-b76fb000 ---p 001a4000 08:06 4336577 /lib/i386-linux-gnu/libc-2.15.so
b76fb000-b76fd000 r--p 001a4000 08:06 4336577 /lib/i386-linux-gnu/libc-2.15.so
b76fd000-b76fe000 rw-p 001a6000 08:06 4336577 /lib/i386-linux-gnu/libc-2.15.so
b76fe000-b7702000 rw-p 00000000 00:00 0
b7702000-b772c000 r-xp 00000000 08:06 4336580 /lib/i386-linux-gnu/libm-2.15.so
b772c000-b772d000 r--p 00029000 08:06 4336580 /lib/i386-linux-gnu/libm-2.15.so
b772d000-b772e000 rw-p 0002a000 08:06 4336580 /lib/i386-linux-gnu/libm-2.15.so
b772e000-b7747000 r-xp 00000000 08:06 262169 /usr/lib/libg2c.so.0.0.0
b7747000-b7748000 rw-p 00019000 08:06 262169 /usr/lib/libg2c.so.0.0.0
b7748000-b7755000 rw-p 00000000 00:00 0
b776a000-b7772000 rw-p 00000000 00:00 0
b7772000-b7773000 r-xp 00000000 00:00 0 [vdso]
b7773000-b7793000 r-xp 00000000 08:06 4333332 /lib/i386-linux-gnu/ld-2.15.so
b7793000-b7794000 r--p 0001f000 08:06 4333332 /lib/i386-linux-gnu/ld-2.15.so
b7794000-b7795000 rw-p 00020000 08:06 4333332 /lib/i386-linux-gnu/ld-2.15.so
bfd5e000-bfd7f000 rw-p 00000000 00:00 0 [stack]
Abortado (imagem do núcleo gravada)
ChicoElizio is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 gwierink OpenFOAM Installation 0 April 5, 2011 05:38
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 18:22
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 14:24
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51


All times are GMT -4. The time now is 06:05.