My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
CRDSS_Task1_05-28_SoftwarePortabilityIssues
CWCB
>
Decision Support Systems
>
DayForward
>
CRDSS_Task1_05-28_SoftwarePortabilityIssues
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
9/25/2011 10:18:52 AM
Creation date
5/30/2008 3:38:01 PM
Metadata
Fields
Template:
Decision Support Systems
Title
CRDSS Task 1.05-28 - Study of System Integration Issues Software - Portability Issues
Description
This memorandum discusses the issues related to software portability.
Decision Support - Doc Type
Task Memorandum
Date
5/10/1994
DSS Category
DMI Utilities
DSS
Colorado River
Basin
Colorado Mainstem
Contract/PO #
C153658, C153727, C153752
Grant Type
Non-Reimbursable
Bill Number
SB92-87, HB93-1273, SB94-029, HB95-1155, SB96-153, HB97-008
Prepared By
Riverside Technology inc.
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
5
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
CRDSS <br />TASK MEMORANDUM 1.05-28 <br />Study of System Integration Issues <br />Software - Portability Issues <br />1.0 ISSUE <br />Software developed as part of the CRDSS must adhere to accepted standards in order to result in a <br />well-supported product and to facilitate future implementation on other platforms. The following <br />issues need to be addressed related to software portability: <br />How can source code be made portable? <br />? <br />How can graphics be made portable? <br />? <br />How can data files be made portable? <br />? <br />2.0 DISCUSSION/ANALYSIS <br />Implementing a system that has portable software and data can often be accomplished by adhering to <br />existing standards and by avoiding the use of system-dependent extensions (even if they may make a <br />development effort easier at times). <br />Source Code Portability <br />Source code that is developed for the CRDSS will adhere to ANSI C, C++ (draft) a nd FORTRAN 77 <br />standards. The ANSI FORTRAN 90 standard has been published but is not widely supported by <br />compilers (the SGI compiler is FORTRAN 77). <br />Non-standard routines can be isolated so that porting to a new platform involves changing a single <br />routine rather than many occurrences of calls to the non-standard routine. This is done by writing a <br />"generic" routine that calls the system-specific routine. For example, getting the system time in a <br />FORTRAN program often involves calling a routine that is different on each platform (or for each <br />compiler). The code can be implemented as illustrated in the following example: <br />* main program <br />program main <br />integer now <br />call GetTime ( now ) <br />stop <br />end <br />* subroutine to get time <br />subroutine GetTime ( now ) <br />integer now <br />* call system-dependent routine to return time <br />call time ( now ) <br />return <br />end <br />1 <br />A275 05.10.94 1.05-28 Malers <br />
The URL can be used to link to this page
Your browser does not support the video tag.