Fortran Fortran Compiler and C Preprocessor

  • Thread starter Thread starter kellenhockey6
  • Start date Start date
  • Tags Tags
    Compiler Fortran
Click For Summary
Fortran compilers and C preprocessors are software tools that can be downloaded rather than being specific to a computer. To run the Neutron transport code DANTSYS, a Fortran 77 compiler, a C preprocessor, and GNU Make are required. However, DANTSYS is primarily supported on specific supercomputers and older UNIX operating systems, such as HP-UX, AIX, and IRIX, which may not be compatible with standard desktop PCs. While some users have successfully run older codes on Linux, DANTSYS itself may not be readily available for Linux without modifications. It is advisable to research whether a newer version of DANTSYS has been ported to Linux, as many older codes have been updated for compatibility with modern systems.
kellenhockey6
Messages
5
Reaction score
0
I am very new to programming and am trying to determine if a Fortran compiler and C preprocessor is a property of the specific computer one has or if it is something that can be downloaded?

Specifically I want to run the Neutron transport code, DANTSYS; system requirements are listed here: http://www-rsicc.ornl.gov/codes/ccc/ccc5/ccc-547.html

Can any computer run this code or would I have to purchase something specific that meets the Fortran complier requirements? Also does anyone have any recommendations on what the best Linux operating system to pursue / learn to run this code in would be?

Any help is appreciated.

Thanks,
Kellen
 
Technology news on Phys.org
A compiler is a piece of software (an ordinary program), used to create binaries from source code. For your purposes, basically a very elaborate installation process. For example, the GNU project has free, multiplatform C and Fortran compilers. The other tool mentioned there is GNU Make, also a GNU utility. All can be downloaded here.

Unfortunately, I doubt this software will run on anything you have. From that page, it's described as only supporting certain supercomputers - not desktop PCs. The only operating systems it supports are rather exotic (obsolete?) UNIX dialects - HP-UX, AIX, IRIX, SunOS (Solaris' predecessor), and UNICOS.
 
As signerror mentioned, the page has

. COMPUTER SOFTWARE REQUIREMENTS

DANTSYS requires a Fortran 77 compiler; a C-language preprocessor (cpp); a C-compiler (cc); and GMAKE (GnuMake from Free Software Foundation). Please be advised that in our experience some compiler versions on the various platforms are deficient in the sense that either the code will not compile or else bad assembly code is generated. We list the operating systems and Fortran compilers under which the code met our QA requirements.

1. CRAY-(UNICOS 7.0.6.1/CF77-RELEASE 6.0.3.11)

2. SUN-(SUNOS 4.1.2/F77 Version 2.0.1)

3. IBM RS/6000-(AIX 2.3/XLF RELEASE 03.02.0002.0001)

4. Hewlett Packard 9000-(HP-UX A.09.05/F77-HP UX10.0)

5. Silicon Graphics-(IRIX 5.2/F77 RELEASE 5.2).


Our Linux workstations use g77.

One could try -

http://www.mbr-pwrc.usgs.gov/software/g77.html

Good luck.
 
Last edited by a moderator:
Your code description seems to date back to 1997.
If you Google the subject, you will find that much of the older codes have been ported to Linux. If you are not the hands-on type, you may want to enquire about a later version of the program, probably already ported to Linux. The RSICC catalog description on Dantsys is dated 2006, and has since taken Silicon Graphics and HP off the list of platforms. (Linux was not added).

Descriptions of other codes (for example : http://www-rsicc.ornl.gov/codes/ccc/ccc6/ccc-695.html)
seem to imply that Dantsys is already ported and funcitonal on Linux with upgrade to F95.

Try to do a little more research. The extra work may be worth it.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
3K
  • · Replies 29 ·
Replies
29
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
15K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K