Re: Linking Problems and undefined references to standart functions

2013-05-01 Thread Csaba Raduly
Hi Sonya, On Tue, Apr 30, 2013 at 12:48 PM, Sonya Blade wrote: > gfortran command to compile the code is as follow : > > gfortran.exe -o bin\Debug\Petsc_Fortran.exe obj\Debug\main.o > C:\Users\\Downloads\petsc-3.3-p6\arch-mswin-c-debug\lib\libpetsc.a > C:\cygwin\lib\libX11.a C:\Users\me

Re: Linking Problems and undefined references to standart functions

2013-04-30 Thread Sonya Blade
gfortran command to compile the code is as follow : gfortran.exe  -o bin\Debug\Petsc_Fortran.exe obj\Debug\main.o     C:\Users\\Downloads\petsc-3.3-p6\arch-mswin-c-debug\lib\libpetsc.a C:\cygwin\lib\libX11.a C:\Users\mehmet\Downloads\libblas.lib C:\Users\.\Downloads\liblapack.lib C:\User

Re: Linking Problems and undefined references to standart functions

2013-04-30 Thread Csaba Raduly
Hi Sonya, On Tue, Apr 30, 2013 at 9:18 AM, Sonya Blade wrote: > Dear All, > > I tried to use the Petsc library, compiled without any error during cygwin > terminalcompilation, > with gfortran (which works in Code Block editor) and tried to run some of the > examples which > flawlessly works in C

Linking Problems and undefined references to standart functions

2013-04-30 Thread Sonya Blade
Dear All, I tried to use the Petsc library, compiled without any error during cygwin terminalcompilation, with gfortran (which works in Code Block editor) and tried to run some of the examples which  flawlessly works in C but not in gfortran.  Although I used and set the same library in linking