Showing posts with label Fortran. Show all posts
Showing posts with label Fortran. Show all posts

Monday, August 30, 2010

Some Fortran code

Here are some Fortran code for Stata-related operations.

Monday, March 22, 2010

Making Simple R Package

This post explains how to create a simple R package that contains R and FORTRAN source code.

Sunday, November 29, 2009

Silly mistake

I was trying to run and debug a Fortran program within Emacs. Strangely, GDB refused to run and Emacs kept giving me error messages. I figured there might some comparabilities between gfortran, gdb, and emacs and spent quite some time trying to figure out. Finally, it turns out to be a problem with my directory name: Emacs's gdb mode cannot handle directories with spaces in their names.

Now I know.

Friday, May 08, 2009

Intel Fortran and aML

I am happy to discover that aML can be successfully compiled on Ubuntu using the non-commercial Intel Fortran compiler v.11.

Monday, February 23, 2009

OpenWatcome 1.8

The open source compiler project OpenWatcom just let out a new release, v. 1.8. I don't have much experience with this compiler but remember in the old days the Watcom compiler used to beat its competitors including big names like Microsoft, Borland, and Symantic regarding to performance.

It probably will not work with ADMB, but it would be really great if it does.

Saturday, December 27, 2008

Fortran on Linux

Useful web site on this topic: http://www.fesb.hr/~psarajce/LinuxOS.html

Thursday, December 04, 2008

Netbeans and gfortran


I know that Eclipse has a good FORTRAN ide called Photran. I also know that Sun has a compote FORTRAN development tool chains called Sun Studio. What I did not know is that Netbeans itself is a good IDE for gfortran, the default FORTRAN compiler for most Linux distros today.

Here is a really simple debugging session.

Sunday, November 30, 2008

Sunday, October 19, 2008

Compile aML under Cygwin using g77

I finally got the time to setup a cygwin environment on my computer and tried to compile aML. After several trial and error, I got it successfully built and tested. The procedure is pretty straightforward, with only one thing to keep in mind: choose g77 3.3 instead of 3.4 otherwise the generated binary will issue an error message "core dump" (and this is probably why aML cannot be directly built on Ubuntu 8.04). I only tested on my 32-bit machine and will try it on my 64-bit Vista office machine on Monday.

This is exciting!

Counter