[CSC 335] Language References
Andrew J. Pounds
pounds_aj at mercer.edu
Mon Aug 28 09:33:34 EDT 2017
So in class I showed you that the class webpage
http://theochem.mercer.edu/csc335
has a link to the textbooks student companion site. There you will find
code for the algorithme in the book in a variety of languages. As I
have mentioned, your coding for this class must be done in a language
that has define data types and is available on cobra. Unless you want
to try some really esoteric language (not recommended for this class)
that leaves you wil Java, C/C++, and Fortran.
Now, I have had several questions e-mailed to me from students that
wanted to learn Fortran for this course. There are several flavors of
Fortran. We will call old Fortran "Fortran 77" or "f77/g77". I mention
it because the code provided on the book's website is in "Fortran 77".
It is a very simple language, but I will explain the oddities tomorrow
in class and how you can compile code written in Fortran 77 on cobra.
Newer Fortran "Fortran 90/95/05/2015" or simply "gfortran", is also
available on cobra. It is a much richer language than Fortran 77 and it
is the one that I recommend you learn -- and it will look a lot like
Python because Python was partially derived from it. I will show you
some code examples in class tomorrow and also how to compile it on cobra.
If possible I will try to do all of this using a Windows PC so you can
see how to use MobaXterm to connect to cobra from a remote location. I
have some handouts on that too!
Now -- as far as learning Fortran, there is a tutorial now available on
the class website in the REFERENCE section. It was not written by me,
and is designed around an implementation called Silverfrost Fortran and
the Plato IDE. The info on the language all appears to be correct and
is broken into 7 tutorials. I recommend you play around with it now as
it could make your life much easier later.
As I add things related to C/C++ and Java to the website I will notify
the class via e-mail.
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
http://faculty.mercer.edu/pounds_aj
More information about the csc335
mailing list