Code Monkey home page Code Monkey logo

macos's Introduction

macos

MACOS source distribution Jet Propulsion Laboratory 09/02/2022 Updated 09/30/2022

Modeling and Analysis for Controlled Optical Systems

The MACOS source code files and Linux Makefiles can be used to

  1. Compile a MACOS executabale program on a Linux workstation
  2. Compile a SMACOS library smacos_lib.a to be linked to a Matlab mex function module. The SMACOS mex module provides an interface to MACOS operations in a Matlab session.

On a Linux machine, "make macos" command generates a MACOS executable; "make smacos" command generates a SMACOS library.

To clean out existing complied modules of MACOS and SMACOS, say for re-compilations, do "make clean-macos" for MACOS "make clean-smacos" for SMACOS

The Makefiles use Intel Fortran and C compilers on a Linux platform for MACOS compilations. Also included are sub-folders of source files for

  1. a pgplot library for graphics plotting
  2. a fits library for fits format input and output

At JPL, the compilations can be done on [email protected]

macos's People

Contributors

lmarchen avatar sabasinger avatar andykee avatar crnissly avatar

Stargazers

 avatar

Watchers

Wayne Moses Burke avatar  avatar  avatar

Forkers

andykee

macos's Issues

Improve macos_param.txt

The current macos_param.txt has mpts=128 for the param256 version (it should be 256). mpts should be updated for all versions, except 128 and 1024. Also, make mElt consistent between the difference versions. mGridSrf is also different, but that's less important.

Remove Intel Version Number

In makefile_all.sh and macos_f90/Make-Linux-x86_64.T, there are references to /opt/intel-14.0.0/. This can be simplified to /opt/intel/ because the latter is a soft link to the latest version. Also, "2023.1.0" in the same lines can be replaced by "latest", because there exists a softlink as well. This will make it more cross-platform independant.

Use Compiler optimization

I noticed macos_f90/Makefile is using the debug option (-g). When running the 512 version, the code runs slow compared to other versions. Please look into using compiler optimization (e.g. -Ofast), not just in macos_f90/Makefile, but in all the packages including blas, lapack, readline and pgplot.

Add MACOS Manual 3.2 PDF

Until the new LaTeX version of the MACOS manual is ready, let's upload the PDF of the one Norbert is using to create the LaTeX version: 3.2

Use local directory in Makefiles

makefile_all.sh and macos_f90/Make-Linux-x86_64.T have custom user directories in them (e.g. lmarchen). This needs to be made less specific by setting an environment variable to the current directory (a suggestion).

Add to FC alias

In macos_f90/Makefile, add "-traceback -check bounds,stack" to line 64 ("export FC = ")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.