Recent content by cjm2176
-
C
Integer Length for Intel Core 2 Duo (MAC OSX)
Ok thanks, are the other types the expected length for 64 bit? such as float and pointer?- cjm2176
- Post #3
- Forum: Programming and Computer Science
-
C
Integer Length for Intel Core 2 Duo (MAC OSX)
Hello all, I am trying to determine if my machine is 64 bit or 32 bit, according to this site: http://support.apple.com/kb/ht3696" the Intel Core 2 Duo I am using is 64 bit, but when I run the following code #include <stdio.h> int main(int argc, char **argv) { char c; int...- cjm2176
- Thread
- Core Integer Length
- Replies: 4
- Forum: Programming and Computer Science
-
C
Fortran How to Fix Fortran Formatting Issues in .pvd Files?
works perfectly thanks!- cjm2176
- Post #6
- Forum: Programming and Computer Science
-
C
Fortran How to Fix Fortran Formatting Issues in .pvd Files?
yes I'm using FORTRAN 95, the compiler is gfortran- cjm2176
- Post #3
- Forum: Programming and Computer Science
-
C
Fortran How to Fix Fortran Formatting Issues in .pvd Files?
Hi all I am trying to use fortran to write a .pvd file, an example of what one line of such a file should look like is <DataSet timestep="1.00000E-07" part="0" file="Psb000001.vtu"/> however with the following code: write(90,2000) ttim,fname 2000 format('<DataSet...- cjm2176
- Thread
- Format Fortran
- Replies: 5
- Forum: Programming and Computer Science
-
C
Fortran Strange results using dgesv (lapack) via fortran 90
the arrays are attached- cjm2176
- Post #6
- Forum: Programming and Computer Science
-
C
Fortran Strange results using dgesv (lapack) via fortran 90
Yes they are the same, would it help if I posted these arrays?- cjm2176
- Post #4
- Forum: Programming and Computer Science
-
C
Fortran Strange results using dgesv (lapack) via fortran 90
Hello all, I am trying to learn fortran 90 by rewriting some simple MATLAB codes I have in fortran. I tried to rewrite a linear, 1D finite element code for an elliptic equation and my fortran and MATLAB codes both end up assembling the same system matrixes (K and f), but the solution to...- cjm2176
- Thread
- Fortran Lapack Strange
- Replies: 7
- Forum: Programming and Computer Science