|
[Sponsors] |
April 12, 2005, 13:38 |
DUNS compile with VC++, VF or gcc/g77 in PC
|
#1 |
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 |
|
April 13, 2005, 12:17 |
Re: DUNS compile with VC++, VF or gcc/g77 in PC
|
#2 |
Guest
Posts: n/a
|
Today working with Linux is almost easier than working with Windows if you use one of the "big" distributions.
regards |
|
April 20, 2005, 05:59 |
Re: DUNS compile with VC++, VF or gcc/g77 in PC
|
#3 |
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 |
|
April 20, 2005, 06:48 |
Re: DUNS compile with VC++, VF or gcc/g77 in PC
|
#4 |
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. |
|
February 14, 2010, 18:11 |
|
#5 | |
New Member
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16 |
Quote:
Do you still need it? I can do it for you. |
||
December 11, 2010, 09:11 |
|
#6 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
trying to compile it under Ubuntu10.04 with gcc+g95
and also under xp with gcc4.5. No luck till now. |
|
December 11, 2010, 09:59 |
|
#7 | |
New Member
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16 |
Quote:
http://www.cfluid.com/bbs/viewthread...extra=page%3D1 |
||
December 11, 2010, 10:29 |
|
#8 | |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
Quote:
|
||
December 13, 2010, 01:43 |
|
#9 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
succeeded in compiling yours with gcc under xp.
Will try to compile the original one. thx |
|
December 13, 2010, 04:17 |
|
#10 | |
New Member
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16 |
Quote:
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. |
||
December 13, 2010, 08:11 |
|
#11 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
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. |
|
June 23, 2014, 22:47 |
|
#12 | |
New Member
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 5
Rep Power: 12 |
Quote:
ChicoElizio |
||
June 24, 2014, 03:18 |
|
#13 | |
New Member
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16 |
Quote:
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 |
||
July 14, 2014, 13:48 |
Duns
|
#14 | |
New Member
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 5
Rep Power: 12 |
Quote:
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 |
||
July 15, 2014, 05:08 |
|
#15 | |
New Member
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16 |
Quote:
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 |
||
July 16, 2014, 11:04 |
|
#16 | |
New Member
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 5
Rep Power: 12 |
Quote:
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) |
||
July 16, 2014, 11:17 |
|
#17 | |
New Member
Dingxi Wang
Join Date: Feb 2010
Posts: 8
Rep Power: 16 |
Quote:
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 |
||
August 6, 2014, 10:19 |
|
#18 | |
New Member
Francisco Carlos Elizio de Paula
Join Date: Jun 2014
Location: São José dos Campos
Posts: 5
Rep Power: 12 |
Quote:
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) |
||
|
|
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 |