Find Jobs
Hire Freelancers

modify Fortran declarations

$30-5000 USD

En curso
Publicado hace alrededor de 19 años

$30-5000 USD

Pagado a la entrega
Write a Python or Perl script to group variable declarations in Fortran functions and subroutines so that (1) function or subroutine arguments appear before declarations of local variables. The function declaration itself (the data type it returns) should appear after the argument declarations, on its own line. (2) within the subgroups of arguments and local variables, declarations of variables of the same type are aggregated when possible. For example, the declarations real z integer i integer j real y(4) integer k(3) real x can be aggregated as integer i,j,k(3) real z,y(4),x A statement is a declaration in Fortran if the first word is real, integer, character, logical, or type(foo), where "foo" can be any word. A 'kind' attribute of the form (kind=n) can appear after the real, integer, character, or logical keyword, and it should be regarded as part of the data type, so that integer (kind=4) i integer (kind=8) j would not be aggregated but integer (kind=4) i integer (kind=4) j would be aggregated to integer (kind=4) i,j Do NOT aggregate any declarations for which a comment (denoted by a leading !) appears on the same line, so integer i integer num_days ! number of days integer j would be aggregated as integer i,j integer num_days ! number of days Put a comment line ! local variables after the declaration of the function and subroutine arguments and before declaring the local variables. More detail are in the attachment. ## Deliverables Code that runs with Python 2.4 OR Perl 5.0. ## Platform Windows XP, but should be written in portable Python or Perl.
ID del proyecto: 3584515

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 19 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
2 freelancers están ofertando un promedio de $136 USD por este trabajo
Avatar del usuario
See private message.
$212,50 USD en 7 días
5,0 (620 comentarios)
7,7
7,7
Avatar del usuario
See private message.
$59,50 USD en 7 días
4,6 (11 comentarios)
4,1
4,1

Sobre este cliente

Bandera de UNITED STATES
Holliston, United States
5,0
16
Miembro desde jun 3, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.