Page 1 of 1

fonction main() can't be found

Posted: Thu Aug 18, 2011 2:34 pm
by Juan Luo
Hello,

I have the problem to install the code-saturne 1.3.3. In fact ,  the code can begin and finish the calcul normally, but  there are not  resultats in the file RESU neither in the file tmp_saturne.

The file compil.log showed

Version of compilers used

======================================
FORTRAN Compiler

***  Code_Saturne 1.3.3 compilation/link
***  System: NetBSD
***  Compilation
foo.F
f77 -D_CS_HAVE_XML    -v -c foo.F
Reading specs from /usr/pkg/gcc3/lib/gcc-lib/x86_64--netbsdelf2.0/3.3.6/specs
Configured with: ./configure --prefix=/usr/pkg/gcc3 --host=x86_64--netbsdelf2.0 - -enable-shared --enable-languages=f77
Thread model: posix
gcc version 3.3.6
/usr/pkg/gcc3/lib/gcc-lib/x86_64--netbsdelf2.0/3.3.6/cc1 -E -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__= 6 -D_CS_HAVE_XML foo.F /pmmh2/tmp/openmpi/ccJAJ9pS.f

ignoring nonexistent directory "/usr/pkg/gcc3/include"
ignoring nonexistent directory "/usr/pkg/gcc3/x86_64--netbsdelf2.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
/usr/pkg/gcc3/lib/gcc-lib/x86_64--netbsdelf2.0/3.3.6/include
 /usr/include
End of search list.
 /usr/pkg/gcc3/lib/gcc-lib/x86_64--netbsdelf2.0/3.3.6/f771 /pmmh2/tmp/openmpi/ccJ AJ9pS.f -quiet -dumpbase foo.F -auxbase foo -version -o /pmmh2/tmp/openmpi/ccgGai kB.s
GNU F77 version 3.3.6 (x86_64--netbsdelf2.0)
       compiled by GNU C version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072  as -V -Qy -o foo.o /pmmh2/tmp/openmpi/ccgGaikB.s
GNU assembler version 2.16.1 (x86_64--netbsd) using BFD version 2.16.1
***  Compilation finished

***  Linking

libpath=-rdynamic/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/sat urne/opt/bft-1.0.8/arch/NetBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/o pt/bft-1.0.8/arch/NetBSD/lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/u sr/pkg/gcc3/lib
cc -o "cs13.exe" -v foo.o  -L/usr/local/saturne/Noyau/ncs-1.3.3/arch/NetBSD/lib  -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr/local/saturne/opt/fv m-0.12.0/arch/NetBSD/lib -lfvm -L/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib  -R/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib -lbft       -rdynamic/usr/loc al/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/saturne/opt/bft-1.0.8/arch/N etBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/ lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/pkg/gcc3/lib -L/usr/pk g/lib -R/usr/pkg/lib -lxml2 -pthread -L/usr/pkg/lib -R/usr/pkg/lib -lmpi -lopen-r te -lopen-pal -Wl,--export-dynamic -lutil -lm  -L/usr/local/saturne/opt/bft-1.0.8 /arch/NetBSD/lib -R/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib -lbft -L/usr/ local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr/local/saturne/opt/fvm-0.12.0 /arch/NetBSD/lib -lfvm -lm -lpthread -L/usr/pkg/gcc3/lib -lg2c

Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-l ong --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown- netbsd4.99.72 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
ld -R /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R/usr/local/saturne/opt /bft-1.0.8/arch/NetBSD/lib -R/usr/pkg/lib -R/usr/pkg/lib -R/usr/local/saturne/opt /bft-1.0.8/arch/NetBSD/lib -R /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib - dc -dp -dynamic-linker /usr/libexec/ld.elf_so -o cs13.exe /usr/lib/crt0.o /usr/li b/crti.o /usr/lib/crtbegin.o -L/usr/local/saturne/Noyau/ncs-1.3.3/arch/NetBSD/lib  -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -L/usr/local/saturne/opt/bft -1.0.8/arch/NetBSD/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/local/saturne/opt/bft -1.0.8/arch/NetBSD/lib -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -L/usr /pkg/gcc3/lib foo.o -lfvm -lbft -lxml2 -lmpi -lopen-rte -lopen-pal --export-dynam ic -lutil -lm -lbft -lfvm -lm -lpthread -lg2c -lgcc -lgcc_eh -lpthread -lc -lgcc -lgcc_eh /usr/lib/crtend.o /usr/lib/crtn.o
/usr/lib/crt0.o: In function `___start':
: undefined reference to `main'
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version

No FORTRAN test executable

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

C Compiler

***  Code_Saturne 1.3.3 compilation/link
***  System: NetBSD

***  Compilation
foo.c
gcc   -I/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/include -I/usr/local/saturne /opt/fvm-0.12.0/arch/NetBSD/include -I/usr/pkg/include -I/usr/pkg/include/libxml2  -D_POSIX_SOURCE -D_CS_HAVE_MPI  -D_CS_HAVE_XML    -DNDEBUG  -v -c foo.c
Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-l ong --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown- netbsd4.99.72 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
/usr/libexec/cc1 -quiet -v -I/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/includ e -I/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/include -I/usr/pkg/include -I/u sr/pkg/include/libxml2 -D_POSIX_SOURCE -D_CS_HAVE_MPI -D_CS_HAVE_XML -DNDEBUG foo .c -quiet -dumpbase foo.c -mtune=k8 -auxbase foo -version -o /pmmh2/tmp/openmpi/c cJnfkYc.s
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/include
 /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/include
 /usr/pkg/include
 /usr/pkg/include/libxml2
 /usr/include
End of search list.
GNU C version 4.1.3 20080704 prerelease (NetBSD nb2 20081120) (x86_64--netbsd)
       compiled by GNU C version 4.1.3 20080704 (prerelease) (NetBSD nb2 2008112 0).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: af6330af6ff5af0c3bf1aa89b3101591
foo.c: In function 'main':
foo.c:3: warning: incompatible implicit declaration of built-in function 'printf'  as -V -Qy -o foo.o /pmmh2/tmp/openmpi/ccJnfkYc.s
GNU assembler version 2.16.1 (x86_64--netbsd) using BFD version 2.16.1
***  Compilation finished

***  Linking
libpath=-rdynamic/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/sat urne/opt/bft-1.0.8/arch/NetBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/o pt/bft-1.0.8/arch/NetBSD/lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/u sr/pkg/gcc3/lib
cc -o "cs13.exe" -v foo.o  -L/usr/local/saturne/Noyau/ncs-1.3.3/arch/NetBSD/lib  -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr/local/saturne/opt/fv m-0.12.0/arch/NetBSD/lib -lfvm -L/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib  -R/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib -lbft       -rdynamic/usr/loc al/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/saturne/opt/bft-1.0.8/arch/N etBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/ lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/pkg/gcc3/lib -L/usr/pk g/lib -R/usr/pkg/lib -lxml2 -pthread -L/usr/pkg/lib -R/usr/pkg/lib -lmpi -lopen-r te -lopen-pal -Wl,--export-dynamic -lutil -lm  -L/usr/local/saturne/opt/bft-1.0.8 /arch/NetBSD/lib -R/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib -lbft -L/usr/ local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr/local/saturne/opt/fvm-0.12.0 /arch/NetBSD/lib -lfvm -lm -lpthread -L/usr/pkg/gcc3/lib -lg2c

Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-l ong --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown- netbsd4.99.72 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
ld -R /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R/usr/local/saturne/opt /bft-1.0.8/arch/NetBSD/lib -R/usr/pkg/lib -R/usr/pkg/lib -R/usr/local/saturne/opt /bft-1.0.8/arch/NetBSD/lib -R /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib - dc -dp -dynamic-linker /usr/libexec/ld.elf_so -o cs13.exe /usr/lib/crt0.o /usr/li b/crti.o /usr/lib/crtbegin.o -L/usr/local/saturne/Noyau/ncs-1.3.3/arch/NetBSD/lib  -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -L/usr/local/saturne/opt/bft -1.0.8/arch/NetBSD/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/local/saturne/opt/bft -1.0.8/arch/NetBSD/lib -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -L/usr /pkg/gcc3/lib foo.o -lfvm -lbft -lxml2 -lmpi -lopen-rte -lopen-pal --export-dynam ic -lutil -lm -lbft -lfvm -lm -lpthread -lg2c -lgcc -lgcc_eh -lpthread -lc -lgcc -lgcc_eh /usr/lib/crtend.o /usr/lib/crtn.o
/usr/lib/crt0.o: In function `___start':

: undefined reference to `main'
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version
*** Error code 1

Stop.
make: stopped in /pmmh2/tmp/jluo/tmp_Saturne/CONVERGE3D1.CASE_RE60.08081721/dir_compiler_f_version

No FORTRAN test executable

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

C Compiler


***  Code_Saturne 1.3.3 compilation/link
***  System: NetBSD

***  Compilation
foo.c
gcc   -I/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/include -I/usr/local/saturne /opt/fvm-0.12.0/arch/NetBSD/include -I/usr/pkg/include -I/usr/pkg/include/libxml2  -D_POSIX_SOURCE -D_CS_HAVE_MPI  -D_CS_HAVE_XML    -DNDEBUG  -v -c foo.c
Using built-in specs.
Target: x86_64--netbsd

Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-l ong --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown- netbsd4.99.72 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
/usr/libexec/cc1 -quiet -v -I/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/includ e -I/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/include -I/usr/pkg/include -I/u sr/pkg/include/libxml2 -D_POSIX_SOURCE -D_CS_HAVE_MPI -D_CS_HAVE_XML -DNDEBUG foo .c -quiet -dumpbase foo.c -mtune=k8 -auxbase foo -version -o /pmmh2/tmp/openmpi/c cJnfkYc.s
#include "..." search starts here:
#include <...> search starts here:
/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/include
 /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/include
 /usr/pkg/include
 /usr/pkg/include/libxml2
 /usr/include
End of search list.
GNU C version 4.1.3 20080704 prerelease (NetBSD nb2 20081120) (x86_64--netbsd)
       compiled by GNU C version 4.1.3 20080704 (prerelease) (NetBSD nb2 2008112

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: af6330af6ff5af0c3bf1aa89b3101591
foo.c: In function 'main':
foo.c:3: warning: incompatible implicit declaration of built-in function 'printf'  as -V -Qy -o foo.o /pmmh2/tmp/openmpi/ccJnfkYc.s
GNU assembler version 2.16.1 (x86_64--netbsd) using BFD version 2.16.1
***  Compilation finished

***  Linking
libpath=-rdynamic/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/sat urne/opt/bft-1.0.8/arch/NetBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/o pt/bft-1.0.8/arch/NetBSD/lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/u sr/pkg/gcc3/lib
cc -o "cs13.exe" -v foo.o  -L/usr/local/saturne/Noyau/ncs-1.3.3/arch/NetBSD/lib  -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr/local/saturne/opt/fv m-0.12.0/arch/NetBSD/lib -lfvm -L/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib  -R/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib -lbft       -rdynamic/usr/loc al/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/saturne/opt/bft-1.0.8/arch/N etBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/ lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/pkg/gcc3/lib -L/usr/pk g/lib -R/usr/pkg/lib -lxml2 -pthread -L/usr/pkg/lib -R/usr/pkg/lib -lmpi -lopen-r te -lopen-pal -Wl,--export-dynamic -lutil -lm  -L/usr/local/saturne/opt/bft-1.0.8 /arch/NetBSD/lib -R/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib -lbft -L/usr/ local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr/local/saturne/opt/fvm-0.12.0 /arch/NetBSD/lib -lfvm -lm -lpthread -L/usr/pkg/gcc3/lib -lg2c

Using built-in specs.

Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-l ong --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown- netbsd4.99.72 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
ld -R /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R/usr/local/saturne/opt /bft-1.0.8/arch/NetBSD/lib -R/usr/pkg/lib -R/usr/pkg/lib -R/usr/local/saturne/opt /bft-1.0.8/arch/NetBSD/lib -R /usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib - dc -dp -dynamic-linker /usr/libexec/ld.elf_so -o cs13.exe /usr/lib/crt0.o /usr/li b/crti.o /usr/lib/crtbegin.o -L/usr/local/saturne/Noyau/ncs-1.3.3/arch/NetBSD/lib  -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -L/usr/local/saturne/opt/bft -1.0.8/arch/NetBSD/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/local/saturne/opt/bft -1.0.8/arch/NetBSD/lib -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -L/usr /pkg/gcc3/lib foo.o -lfvm -lbft -lxml2 -lmpi -lopen-rte -lopen-pal --export-dynam ic -lutil -lm -lbft -lfvm -lm -lpthread -lg2c -lgcc -lgcc_eh -lpthread -lc -lgcc -lgcc_eh /usr/lib/crtend.o /usr/lib/crtn.o
***  Linking finished

***  Executable:

-rwxr-xr-x  1 jluo  pmmh  8563 Aug  8 17:21 cs13.exe

C test program successfully ran

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


***  Code_Saturne 1.3.3 compilation/link
***  System: NetBSD

***  "make" in a user directory
***  Compilation
usclim.F
f77 -D_CS_HAVE_XML    -I. -O1 -c usclim.F
usini1.F
f77 -D_CS_HAVE_XML    -I. -O1 -c usini1.F
***  Compilation finished

***  Linking
libpath=-rdynamic/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/sat urne/opt/bft-1.0.8/arch/NetBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/o pt/bft-1.0.8/arch/NetBSD/lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/u sr/pkg/gcc3/lib
cc -o "cs13.exe" -O usclim.o usini1.o  -L/usr/local/saturne/Noyau/ncs-1.3.3/arch/ NetBSD/lib  -lsaturneBASE -lsaturneCFBL -lsaturneCOGZ -lsaturneCPLV -lsaturneELEC  -lsaturneFUEL -lsaturneLAGR -lsaturneMATI -lsaturneRAYT  -lsaturneBASE -lsaturne CFBL -lsaturneCOGZ -lsaturneCPLV -lsaturneELEC -lsaturneFUEL -lsaturneLAGR -lsatu rneMATI -lsaturneRAYT -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr /local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -lfvm -L/usr/local/saturne/opt/bft- 1.0.8/arch/NetBSD/lib -R/usr/local/saturne/opt/bft-1.0.8/arch/NetBSD/lib -lbft     -rdynamic/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/local/saturne /opt/bft-1.0.8/arch/NetBSD/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/local/saturne/opt/b ft-1.0.8/arch/NetBSD/lib:/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib:/usr/p kg/gcc3/lib -L/usr/pkg/lib -R/usr/pkg/lib -lxml2 -pthread -L/usr/pkg/lib -R/usr/p kg/lib -lmpi -lopen-rte -lopen-pal -Wl,--export-dynamic -lutil -lm  -L/usr/local/ saturne/opt/bft-1.0.8/arch/NetBSD/lib -R/usr/local/saturne/opt/bft-1.0.8/arch/Net BSD/lib -lbft -L/usr/local/saturne/opt/fvm-0.12.0/arch/NetBSD/lib -R /usr/local/s aturne/opt/fvm-0.12.0/arch/NetBSD/lib -lfvm -lm -lpthread -L/usr/pkg/gcc3/lib -lg 2c
***  Linking finished

***  Executable:

-rwxr-xr-x  1 jluo  pmmh  4033275 Aug  8 17:22 cs13.exe

Someones have an idea for my problem? I 'm not good at fortran. Thanks a lot.

Best Regards

juan LUO

Re: fonction main() can't be found

Posted: Fri Aug 19, 2011 1:37 pm
by Yvan Fournier
Hello,

It seems the code compiled OK, but you have some other issue.

Is the tmp_Saturne file completely empty ? Otherwise, do you have a listpre, listing, or error file in tmp_Saturne/<case>.<date> ?

What message do you obtain on the screen when starting the code ?

Also, in any case, we recommend using Code_Saturne 2.0 rather than 1.3.

Best regards,

  Yvan

Re: fonction main() can't be found

Posted: Mon Aug 22, 2011 10:59 am
by Juan Luo
Previously Yvan Fournier wrote:
Hello,

It seems the code compiled OK, but you have some other issue.

Is the tmp_Saturne file completely empty ? Otherwise, do you have a listpre, listing, or error file in tmp_Saturne/<case>.<date> ?

What message do you obtain on the screen when starting the code ?

Also, in any case, we recommend using Code_Saturne 2.0 rather than 1.3.

Best regards,

  Yvan
Hello Yvan,

Thanks your answers. In the tmp_Saturne file there are: chr.ensight/              fort_saturne/             preprocessor_output/ compil.log                listing                   resume converge3D1.neu           listpre cs13.exe                  localexec the file which I joint above, it's the file of compli.log. when I start the code it seems normal, and the code can finish the calcul normally. But in the file chr.ensight/ , there is only chr.geo, anything else. So I don't known what is wrong.

For the version 2.0, we tried to install it before, but not succeed, so we have installed the version 1.3.3
 

Re: fonction main() can't be found

Posted: Mon Aug 22, 2011 12:46 pm
by Yvan Fournier
Hello,

Do you know why installation of 2.0 failed ? Could you try again (using the new documentation id necessary), and post your error logs if it still does not work ?

To determine what is wrong, you need to check the "listing" and "resume" files.

Best regards,

  Yvan

Re: fonction main() can't be found

Posted: Wed Aug 24, 2011 10:53 am
by Juan Luo
Previously Yvan Fournier wrote:
Hello,

Do you know why installation of 2.0 failed ? Could you try again (using the new documentation id necessary), and post your error logs if it still does not work ?

To determine what is wrong, you need to check the "listing" and "resume" files.

Best regards,

  Yvan
Thanks a lot Yvan, I will try it.