Fortran90 compiler software features
1. Integrate PGI’s high-performance 64-bit and 32-bit Fortran parallel compilers and development tool suites with Microsoft Visual Studio 2010
2. Provide an efficient system development solution for scientists and engineers to upgrade from 32-bit to 64-bit Microsoft Windows platform
3. Microsoft Visual Studio is the most widely used integrated development environment in the world
4. Allow developers to use their existing Windows development skills and experience to develop applications on Windows Compute Cluster Server HPC (High Performance Computing) applications running on the 2003 platform
5. By releasing the PVF suite, Portland Group provides technical workers and engineers with the opportunity to use Visual Studio environment provides a new option for developing applications running on Windows platform
6. This suite contains a set of parallel Fortran compilers and development tools that support multi-core processors
7. PVF’s world-leading performance and advanced compiler technology provide a complete solution for Windows developers
8. Help them take advantage of microprocessor innovations from AMD and Intel
9. And Microsoft’s newly developed HPC technology, such as Windows Compute Cluster Server 2003
Fortran90 compiler software features
1. The biggest feature of Fortran language is that it is close to the natural description of mathematical formulas, and it has high execution efficiency in computers.
2. Easy to learn, rigorous grammar
3. You can directly perform operations on matrices and complex numbers, which is similar to MATLAB
4. Since its birth, it has been widely used in the field of numerical computing, and has accumulated a large number of efficient and reliable source programs.
5. Many dedicated large-scale numerical computing computers are optimized for Fortran.
6. Widely used in parallel computing and high-performance computing fields
7. The successive launches of Fortran 90, Fortran 95, and Fortran 2003 have given the Fortran language some features of modern high-level programming languages.
Fortran90 compiler installation steps
1. Download the Fortran90 compiler from Huajun Software Park, unzip it to the current folder, and click Microsoft Fortran PowerStation in it 4.0.exe application, enter the installation wizard interface, and then click Next.
2. Select the software installation location interface. The editor of Huajun Software Park recommends that users install it in the D drive, select the installation location and click Next.
3. The Fortran90 compiler installation is completed, click OK.
Fortran90 compiler usage instructions
1. Set as default is the default development environment
2. Fortran application is a standard Fortran project file
3. After saving the project, you can enter the code in the main.f95 file and compile and run with F9
Points to note when writing the Fortran90 compiler
1. The conditional expression after the if statement must be enclosed in (), such as
If ( salary < 1000 ) then
If ( (salary >= 1000) .AND. ( salary <= 5000) ) then
Without brackets, compilation will produce an error
2. The if-else if clause does not use the end if statement. That is, although if-else if
This clause contains two if judgments, but after the final conditional judgment, you only need to write
One end if is OK, there is no need to write multiple ones, such as:
If ( salary < 1000 ) then
! do something
else if ( salary > 5000) then
! do something
end if
3. If there is only one line of code after the if statement, then it should be noted that both then and end if should be omitted, such as
If (salary < 1000) exit! There is no then and end if. If exit is written on the next line, then
You should write then and end if
4. In DO loop: do counter=1, 10, 1
It should be noted that the second parameter here should not be written as counter<=10
Fortran will automatically add a description such as counter<=
If you want to implement a decreasing loop, you can change the incremental parameter to a negative number
5. Use write in Fortran to control formatted output, such as write(*, 10) Indicates the formatting in the FORMAT statement with line number 10, but generally speaking, we will write it in the write statement, so that the readability is good, and the write at this time should
Write like this:
write(*, "('Hello World! This is ', I2, ' Processes!')") process_number
That is to say, first use "( )" to wrap the format string, and then in the middle, use single quotes for the constant string
Use format control code, separated by number
6. The two elements that are very easy to confuse in Fortran are "string" and "character array"! What is declared like this is a string:
character(len=20) string
And what is declared like this is a character array:
character :: string(20)
For strings, you cannot reference elements through string(i), because this is how arrays are done. For strings, if you want to get one or part of the elements, you need to use string(i:i) or Code like string(i:i+4).
For arrays, the above method can be used. In addition, you can also directly reference the elements through string(i).
7. All variable declarations in Fortran must be placed at the beginning of the code. Variable definitions cannot appear after a certain line of code. This is the same as C. But for C, the gcc compiler does a better job at this point. The gcc compiler allows variables in c code to be defined anywhere, and allows the use of // instead of /* */ to comment a line
8. Comment using ! symbol
9. If you can’t finish a line of code, add & at the end of the line to indicate that the next line and the current line are one line of code; you can also use & at the beginning of a line to indicate that this line and the previous line are one line of code.
Comparison of similar software
VB Decompiler(VB decompiler)Can compile programs into EXE, DLL or OCX files in p-code or native code form. VB Decompiler (VB decompiler) Pro can decompile Visual Basic 5.0/6.0 p-code form EXE, DLL or OCX files. For EXE, DLL or OCX files in native code form, VB Decompiler Pro can also give decompilation clues.
C language compilerIt is a simple and practical computer language editing tool, which brings great convenience to C language editors. The C language compiler has a large number of project case source codes, which is very suitable for novices and C language learners! The C language compiler can be edited at any time on the mobile phone, and it also supports opening code files directly from the file manager.
Huajun editor recommends:
Fortran90 compilerWorks perfectly with Microsoft Visual Studio2010 development tools are integrated and suitable for 32-bit and 64-bit operating systems. And the Fortran90 compiler can also combine the Fortran parallel compiler and the development tool suite, which can be used for programming. The Fortran90 compiler is so easy to use. It is one of the best software among programming tools. I believe that friends who have used it will say it is easy to use. of.
it works
it works
it works