Suppose I have the following setup type BarType integer :: i end type type FooType type(BarType) :: bar
I have a two-dimensional and 1-D arrays of different variables of a system which characterize an Equilibrium state of the system from where the next configurations going to evolve from. Now i need to
Hi I am trying to use fortran structure like this type some u! actual code will have 17 such scalars end type some
program x character(len=1024) :: foo integer:: ret foo = \'ls\' call system(foo, ret) end program This program crashes with SIGSEGV on ifort.
How ca开发者_JS百科n I copy a file in fortran 90 in a portable, cross plaform way ?Use the SYSTEM with your OS\'s copy command. Practically all compilers support this feature.You can read/write the fi
I have had problems calling successive subroutines with assum开发者_C百科ed-shape arrays in Fortran 90. More specifically, I call two levels of subroutines, passing an assumed-shape array as a paramet
How can I achieve this objective in fortran 90 ? I have a routine accepting a function subroutine foo(bar, mysub)
Is there a library defining a datatype and servic开发者_StackOverflow社区es to deal with quantities associated to a unit of measure in fortran ?There is the PHYSUNITS F90 module, which might do what y
if I have this code module test contains subroutine xx(name) character(len=20), intent(in), optional :: name
I\'m learning Fortran90 after a brief introduction to Fortran77 a few years ago. When printing integers in Fortran, you must specify how many spaces you want to reserve for printing the integer. Consi