Openmodelica ユーザーズガイド和訳 リリース V1.14.1

Total Page:16

File Type:pdf, Size:1020Kb

Openmodelica ユーザーズガイド和訳 リリース V1.14.1 OpenModelica ユーザーズガイド和訳 リリース v1.14.1 一般社団法人オープン CAE 学会 2020 年 12 月 19 日 i 目 次 第 1 章 紹介 3 1.1 システム概要 ::::::::::::::::::::::::::::::::::::::::::: 4 1.2 インタラクティブセッションを用いたサンプル :::::::::::::::::::::::: 6 1.3 インタラクティブセッションハンドラに対するコマンドの概要 :::::::::::::::: 26 1.4 コマンドラインからコンパイラを実行する ::::::::::::::::::::::::::: 27 第 2 章 OMEdit - OpenModelica Connection Editor 29 2.1 OMEdit の開始 :::::::::::::::::::::::::::::::::::::::::: 29 2.2 メインウィンドウ&ブラウザ :::::::::::::::::::::::::::::::::: 31 2.3 パースペクティブ :::::::::::::::::::::::::::::::::::::::: 36 2.4 File(ファイル) メニュー ::::::::::::::::::::::::::::::::::::: 41 2.5 Edit(編集) メニュー ::::::::::::::::::::::::::::::::::::::: 42 2.6 View(ビュー) メニュー :::::::::::::::::::::::::::::::::::::: 42 2.7 Simulation(シミュレーション) メニュー ::::::::::::::::::::::::::::: 43 2.8 Debugger(デバグ) メニュー ::::::::::::::::::::::::::::::::::: 43 2.9 OMSimulator メニュー :::::::::::::::::::::::::::::::::::::: 43 2.10 Tools(ツール) メニュー :::::::::::::::::::::::::::::::::::::: 44 2.11 Help(ヘルプ) メニュー :::::::::::::::::::::::::::::::::::::: 44 2.12 モデルを作成する :::::::::::::::::::::::::::::::::::::::: 45 2.13 モデルのシミュレーション ::::::::::::::::::::::::::::::::::: 47 2.14 シミュレーション結果をプロット :::::::::::::::::::::::::::::::: 51 2.15 再シミュレートするモデル ::::::::::::::::::::::::::::::::::: 52 2.16 3D オブジェクトの可視化 :::::::::::::::::::::::::::::::::::: 53 2.17 リアルタイム FMU のアニメーション :::::::::::::::::::::::::::::: 55 2.18 インタラクティブシミュレーション :::::::::::::::::::::::::::::: 56 2.19 ユーザー定義シェイプの作成方法 - アイコン :::::::::::::::::::::::::: 58 2.20 ドキュメントのグローバルヘッドセクション ::::::::::::::::::::::::: 59 2.21 オプション :::::::::::::::::::::::::::::::::::::::::::: 60 2.22 __OpenModelica_commandLineOptions アノテーション :::::::::::::::::::: 69 2.23 __OpenModelica_simulationFlags アノテーション ::::::::::::::::::::::: 69 2.24 Debugger(デバガ) ::::::::::::::::::::::::::::::::::::::::: 70 2.25 Modelica Standard Library の編集 :::::::::::::::::::::::::::::::: 70 2.26 ステートマシン :::::::::::::::::::::::::::::::::::::::::: 70 2.27 テキストエディタとして OMEdit を使用する :::::::::::::::::::::::::: 71 第 3 章 2D プロット 79 3.1 サンプル ::::::::::::::::::::::::::::::::::::::::::::: 79 3.2 プロットコマンドインターフェース :::::::::::::::::::::::::::::: 80 第 4 章 Solving Modelica Models 83 4.1 Integration Methods :::::::::::::::::::::::::::::::::::::::: 83 4.2 DAE Mode Simulation :::::::::::::::::::::::::::::::::::::: 85 第 5 章 Debugging 87 5.1 The Equation-based Debugger ::::::::::::::::::::::::::::::::::: 87 5.2 The Algorithmic Debugger :::::::::::::::::::::::::::::::::::: 89 第 6 章 Generating Graph Representations for Models 95 第 7 章 FMI and TLM-Based Simulation and Co-simulation of External Models 97 7.1 Functional Mock-up Interface - FMI ::::::::::::::::::::::::::::::: 97 7.2 Transmission Line Modeling (TLM) Based Co-Simulation :::::::::::::::::::: 99 7.3 Composite Model Editing of External Models ::::::::::::::::::::::::::: 100 第 8 章 OMSimulator 117 第 9 章 OpenModelica Encryption 119 9.1 Encrypting the Library :::::::::::::::::::::::::::::::::::::: 119 9.2 Loading an Encrypted Library ::::::::::::::::::::::::::::::::::: 119 9.3 Notes ::::::::::::::::::::::::::::::::::::::::::::::: 119 第 10 章 OMNotebook with DrModelica and DrControl 121 10.1 Interactive Notebooks with Literate Programming ::::::::::::::::::::::::: 121 10.2 DrModelica Tutoring System – an Application of OMNotebook ::::::::::::::::: 122 10.3 DrControl Tutorial for Teaching Control Theory ::::::::::::::::::::::::: 125 10.4 OpenModelica Notebook Commands ::::::::::::::::::::::::::::::: 139 10.5 References ::::::::::::::::::::::::::::::::::::::::::::: 145 第 11 章 Optimization with OpenModelica 147 11.1 Builtin Dynamic Optimization with OpenModelica and IpOpt :::::::::::::::::: 147 11.2 Compiling the Modelica code ::::::::::::::::::::::::::::::::::: 147 11.3 An Example :::::::::::::::::::::::::::::::::::::::::::: 148 11.4 Different Options for the Optimizer IPOPT :::::::::::::::::::::::::::: 150 11.5 Dynamic Optimization with OpenModelica and CasADi ::::::::::::::::::::: 150 11.6 Parameter Sweep Optimization using OMOptim ::::::::::::::::::::::::: 156 第 12 章 Parameter Sensitivities with OpenModelica 163 12.1 Background :::::::::::::::::::::::::::::::::::::::::::: 163 12.2 An Example :::::::::::::::::::::::::::::::::::::::::::: 163 第 13 章 PDEModelica1 169 13.1 PDEModelica1 language elements :::::::::::::::::::::::::::::::: 169 13.2 Limitations :::::::::::::::::::::::::::::::::::::::::::: 170 13.3 Viewing results :::::::::::::::::::::::::::::::::::::::::: 170 第 14 章 MDT – The OpenModelica Development Tooling Eclipse Plugin 171 14.1 Introduction :::::::::::::::::::::::::::::::::::::::::::: 171 14.2 Installation :::::::::::::::::::::::::::::::::::::::::::: 171 14.3 Getting Started :::::::::::::::::::::::::::::::::::::::::: 172 ii 第 15 章 MDT Debugger for Algorithmic Modelica 187 15.1 The Eclipse-based Debugger for Algorithmic Modelica :::::::::::::::::::::: 187 第 16 章 Modelica Performance Analyzer 195 16.1 Profiling information for ProfilingTest ::::::::::::::::::::::::::::::: 196 16.2 Genenerated JSON for the Example :::::::::::::::::::::::::::::::: 199 16.3 Using the Profiler from OMEdit :::::::::::::::::::::::::::::::::: 199 第 17 章 Simulation in Web Browser 201 第 18 章 Interoperability – C and Python 203 18.1 Calling External C functions ::::::::::::::::::::::::::::::::::: 203 18.2 Calling external Python Code from a Modelica model ::::::::::::::::::::::: 204 18.3 Calling OpenModelica from Python Code ::::::::::::::::::::::::::::: 206 第 19 章 OpenModelica Python Interface and PySimulator 209 19.1 OMPython – OpenModelica Python Interface ::::::::::::::::::::::::::: 209 19.2 Enhanced OMPython Features :::::::::::::::::::::::::::::::::: 213 19.3 PySimulator :::::::::::::::::::::::::::::::::::::::::::: 217 第 20 章 OMMatlab – OpenModelica Matlab Interface 219 20.1 Features of OMMatlab :::::::::::::::::::::::::::::::::::::: 219 20.2 Test Commands :::::::::::::::::::::::::::::::::::::::::: 220 20.3 WorkDirectory :::::::::::::::::::::::::::::::::::::::::: 221 20.4 BuildModel :::::::::::::::::::::::::::::::::::::::::::: 221 20.5 Standard get methods ::::::::::::::::::::::::::::::::::::::: 221 20.6 Usage of getMethods ::::::::::::::::::::::::::::::::::::::: 222 20.7 Standard set methods ::::::::::::::::::::::::::::::::::::::: 224 20.8 Usage of setMethods ::::::::::::::::::::::::::::::::::::::: 224 20.9 Advanced Simulation ::::::::::::::::::::::::::::::::::::::: 224 20.10 Linearization ::::::::::::::::::::::::::::::::::::::::::: 225 20.11 Usage of Linearization methods :::::::::::::::::::::::::::::::::: 225 第 21 章 OMJulia – OpenModelica Julia Scripting 227 21.1 Features of OMJulia :::::::::::::::::::::::::::::::::::::::: 227 21.2 Test Commands :::::::::::::::::::::::::::::::::::::::::: 228 21.3 WorkDirectory :::::::::::::::::::::::::::::::::::::::::: 229 21.4 BuildModel :::::::::::::::::::::::::::::::::::::::::::: 229 21.5 Standard get methods ::::::::::::::::::::::::::::::::::::::: 229 21.6 Usage of getMethods ::::::::::::::::::::::::::::::::::::::: 230 21.7 Standard set methods ::::::::::::::::::::::::::::::::::::::: 231 21.8 Usage of setMethods ::::::::::::::::::::::::::::::::::::::: 231 21.9 Advanced Simulation ::::::::::::::::::::::::::::::::::::::: 232 21.10 Linearization ::::::::::::::::::::::::::::::::::::::::::: 232 21.11 Usage of Linearization methods :::::::::::::::::::::::::::::::::: 233 21.12 Sensitivity Analysis :::::::::::::::::::::::::::::::::::::::: 233 21.13 Usage ::::::::::::::::::::::::::::::::::::::::::::::: 234 第 22 章 Jupyter-OpenModelica 235 iii 第 23 章 Scripting API 237 23.1 OpenModelica Scripting Commands ::::::::::::::::::::::::::::::: 237 23.2 Simulation Parameter Sweep ::::::::::::::::::::::::::::::::::: 319 23.3 Examples ::::::::::::::::::::::::::::::::::::::::::::: 319 第 24 章 OpenModelica Compiler Flags 325 24.1 Options :::::::::::::::::::::::::::::::::::::::::::::: 325 24.2 Debug flags :::::::::::::::::::::::::::::::::::::::::::: 345 24.3 Flags for Optimization Modules :::::::::::::::::::::::::::::::::: 352 第 25 章 Small Overview of Simulation Flags 353 25.1 OpenModelica (C-runtime) Simulation Flags ::::::::::::::::::::::::::: 353 第 26 章 Technical Details 363 26.1 The MATv4 Result File Format :::::::::::::::::::::::::::::::::: 363 第 27 章 DataReconciliation 365 27.1 Defining DataReconciliation Problem in OpenModelica :::::::::::::::::::::: 365 27.2 DataReconcilation Support with Scripting Interface :::::::::::::::::::::::: 367 27.3 DataReconciliation Support in OMEdit :::::::::::::::::::::::::::::: 367 27.4 DataReconcilation Results ::::::::::::::::::::::::::::::::::::: 371 第 28 章 Frequently Asked Questions (FAQ) 375 28.1 OpenModelica General :::::::::::::::::::::::::::::::::::::: 375 28.2 OMNotebook ::::::::::::::::::::::::::::::::::::::::::: 375 28.3 OMDev - OpenModelica Development Environment ::::::::::::::::::::::: 376 第 29 章 Major OpenModelica Releases 377 29.1 Release Notes for OpenModelica 2.0.0 :::::::::::::::::::::::::::::: 377 29.2 Release Notes for OpenModelica 1.16.0 :::::::::::::::::::::::::::::: 377 29.3 Release Notes for OpenModelica 1.15.0 :::::::::::::::::::::::::::::: 378 29.4 Release Notes for OpenModelica 1.14.0 :::::::::::::::::::::::::::::: 378 29.5 Release Notes for OpenModelica 1.13.0 :::::::::::::::::::::::::::::: 380 29.6 Release Notes for OpenModelica 1.12.0 :::::::::::::::::::::::::::::: 380 29.7 Release Notes for OpenModelica 1.11.0 :::::::::::::::::::::::::::::: 383 29.8 Release Notes for OpenModelica 1.10.0 :::::::::::::::::::::::::::::: 385 29.9 Release Notes for OpenModelica 1.9.4 :::::::::::::::::::::::::::::: 386 29.10 Release Notes for OpenModelica 1.9.3 ::::::::::::::::::::::::::::::
Recommended publications
  • Opensource Software in Mac OS X V. Zhhuta
    Foss Lviv 2013 191 - Linux VM з Wordpress на Azure під’єднано до SQL-бази в приватному центрі обробки даних. Як бачимо, бізнес Microsoft вже дуже сильно зав'язаний на Open Source! Далі в доповіді будуть розглянуті подробиці інтероперабельності платформ з Linux Server, Apache Hadoop, Java, PHP, Node.JS, MongoDb, і наостанок дізнаємося про цікаві Open Source-розробки Microsoft Research. OpenSource Software in Mac OS X V. Zhhuta UK2 LImIted t/a VPS.NET, [email protected] Max OS X stem from Unix: bSD. It contains a lot of things that are common for Unix systems. Kernel, filesystem and base unix utilities as well as it's own package managers. It's not a secret that Mac OS X has a bSD kernel Darwin. The raw Mac OS X won't provide you with all power of Unix but this could be easily fixed: install package manager. There are 3 package manager: MacPorts, Fink and Homebrew. To dive in OpenSource world of mac os x we would try to install lates version of bash, bash-completion and few other utilities. Where we should start? First of all you need to install on you system dev-tools: Xcode – native development tools that contain GCC and libraries. Next step: bring a GIU – X11 into your system. Starting from Mac OS 10.8 X11 is not included in base-installation and it's need to install Xquartz(http://xquartz.macosforge.org). Now it's time to look closely to package managers MacPorts Site: www.macports.org Latest MacPorts release: 2.1.3 Number of ports: 16740 MacPorts born inside Apple in 2002.
    [Show full text]
  • Xcode Package from App Store
    KH Computational Physics- 2016 Introduction Setting up your computing environment Installation • MAC or Linux are the preferred operating system in this course on scientific computing. • Windows can be used, but the most important programs must be installed – python : There is a nice package ”Enthought Python Distribution” http://www.enthought.com/products/edudownload.php – C++ and Fortran compiler – BLAS&LAPACK for linear algebra – plotting program such as gnuplot Kristjan Haule, 2016 –1– KH Computational Physics- 2016 Introduction Software for this course: Essentials: • Python, and its packages in particular numpy, scipy, matplotlib • C++ compiler such as gcc • Text editor for coding (for example Emacs, Aquamacs, Enthought’s IDLE) • make to execute makefiles Highly Recommended: • Fortran compiler, such as gfortran or intel fortran • BLAS& LAPACK library for linear algebra (most likely provided by vendor) • open mp enabled fortran and C++ compiler Useful: • gnuplot for fast plotting. • gsl (Gnu scientific library) for implementation of various scientific algorithms. Kristjan Haule, 2016 –2– KH Computational Physics- 2016 Introduction Installation on MAC • Install Xcode package from App Store. • Install ‘‘Command Line Tools’’ from Apple’s software site. For Mavericks and lafter, open Xcode program, and choose from the menu Xcode -> Open Developer Tool -> More Developer Tools... You will be linked to the Apple page that allows you to access downloads for Xcode. You wil have to register as a developer (free). Search for the Xcode Command Line Tools in the search box in the upper left. Download and install the correct version of the Command Line Tools, for example for OS ”El Capitan” and Xcode 7.2, Kristjan Haule, 2016 –3– KH Computational Physics- 2016 Introduction you need Command Line Tools OS X 10.11 for Xcode 7.2 Apple’s Xcode contains many libraries and compilers for Mac systems.
    [Show full text]
  • Fulltext PDF 3,1 MB
    alpaka Parallel Programming – Online Tutorial Lecture 00 – Getting Started with alpaka Lesson 04: Installation www.casus.science Lesson 04: Installation How to download alpaka ● Install git for your operating system: ● Linux: sudo dnf install git (RPM) or sudo apt install git (DEB) ● macOS: Enter git --version in your terminal, you will be asked if you want to install git ● Windows: Download the installer from https://git-scm.com/download/win ● Open the terminal (Linux / macOS) or PowerShell (Windows) ● Navigate to a directory of your choice: cd /path/to/some/directory ● Download alpaka: git clone -b release-0.5.0 https://github.com/alpaka-group/alpaka.git alpaka Parallel Programming – Online Tutorial – Lesson 04: Installation | 2 Lesson 04: Installation Install alpaka’s dependencies ● alpaka only requires Boost and a modern C++ compiler (g++, clang++, Visual C++, …) ● Linux: ● sudo dnf install boost-devel (RPM) ● sudo apt install libboost-all-dev (DEB) ● macOS: ● brew install boost (Using Homebrew, https://brew.sh) ● sudo port install boost (Using MacPorts, https://macports.org) ● Windows: vcpkg install boost (Using vcpkg, https://github.com/microsoft/vcpkg) ● Depending on your target platform you may need additional packages ● NVIDIA GPUs: CUDA Toolkit (https://developer.nvidia.com/cuda-toolkit) ● AMD GPUs: ROCm / HIP (https://rocmdocs.amd.com/en/latest/index.html) alpaka Parallel Programming – Online Tutorial – Lesson 04: Installation | 3 Lesson 04: Installation Preparing alpaka for installation, Part 1 ● CMake is the preferred system
    [Show full text]
  • The TEX Live Guide TEX Live 2012
    The TEX Live Guide TEX Live 2012 Karl Berry, editor http://tug.org/texlive/ June 2012 Contents 1 Introduction 2 1.1 TEX Live and the TEX Collection...............................2 1.2 Operating system support...................................3 1.3 Basic installation of TEX Live.................................3 1.4 Security considerations.....................................3 1.5 Getting help...........................................3 2 Overview of TEX Live4 2.1 The TEX Collection: TEX Live, proTEXt, MacTEX.....................4 2.2 Top level TEX Live directories.................................4 2.3 Overview of the predefined texmf trees............................5 2.4 Extensions to TEX.......................................6 2.5 Other notable programs in TEX Live.............................6 2.6 Fonts in TEX Live.......................................7 3 Installation 7 3.1 Starting the installer......................................7 3.1.1 Unix...........................................7 3.1.2 MacOSX........................................8 3.1.3 Windows........................................8 3.1.4 Cygwin.........................................9 3.1.5 The text installer....................................9 3.1.6 The expert graphical installer.............................9 3.1.7 The simple wizard installer.............................. 10 3.2 Running the installer...................................... 10 3.2.1 Binary systems menu (Unix only).......................... 10 3.2.2 Selecting what is to be installed...........................
    [Show full text]
  • Teamcity 7.1 Documentation.Pdf
    1. TeamCity Documentation . 4 1.1 What's New in TeamCity 7.1 . 5 1.2 What's New in TeamCity 7.0 . 14 1.3 Getting Started . 26 1.4 Concepts . 30 1.4.1 Agent Home Directory . 31 1.4.2 Agent Requirements . 32 1.4.3 Agent Work Directory . 32 1.4.4 Authentication Scheme . 33 1.4.5 Build Agent . 33 1.4.6 Build Artifact . 34 1.4.7 Build Chain . 35 1.4.8 Build Checkout Directory . 36 1.4.9 Build Configuration . 37 1.4.10 Build Configuration Template . 38 1.4.11 Build Grid . 39 1.4.12 Build History . 40 1.4.13 Build Log . 40 1.4.14 Build Number . 40 1.4.15 Build Queue . 40 1.4.16 Build Runner . 41 1.4.17 Build State . 41 1.4.18 Build Tag . 42 1.4.19 Build Working Directory . 43 1.4.20 Change . 43 1.4.21 Change State . 43 1.4.22 Clean Checkout . 44 1.4.23 Clean-Up . 45 1.4.24 Code Coverage . 46 1.4.25 Code Duplicates . 47 1.4.26 Code Inspection . 47 1.4.27 Continuous Integration . 47 1.4.28 Dependent Build . 47 1.4.29 Difference Viewer . 49 1.4.30 Guest User . 50 1.4.31 History Build . 51 1.4.32 Notifier . 51 1.4.33 Personal Build . 52 1.4.34 Pinned Build . 52 1.4.35 Pre-Tested (Delayed) Commit . 52 1.4.36 Project . 53 1.4.37 Remote Run . ..
    [Show full text]
  • The Apple Ecosystem
    APPENDIX A The Apple Ecosystem There are a lot of applications used to manage Apple devices in one way or another. Additionally, here’s a list of tools, sorted alphabetically per category in order to remain vendor agnostic. Antivirus Solutions for scanning Macs for viruses and other malware. • AVG: Basic antivirus and spyware detection and remediation. • Avast: Centralized antivirus with a cloud console for tracking incidents and device status. • Avira: Antivirus and a browser extension. Avira Connect allows you to view device status online. • BitDefender: Antivirus and malware managed from a central console. • CarbonBlack: Antivirus and Application Control. • Cylance: Ransomware, advanced threats, fileless malware, and malicious documents in addition to standard antivirus. • Kaspersky: Antivirus with a centralized cloud dashboard to track device status. © Charles Edge and Rich Trouton 2020 707 C. Edge and R. Trouton, Apple Device Management, https://doi.org/10.1007/978-1-4842-5388-5 APPENDIX A THe AppLe ECOSYSteM • Malware Bytes: Antivirus and malware managed from a central console. • McAfee Endpoint Security: Antivirus and advanced threat management with a centralized server to track devices. • Sophos: Antivirus and malware managed from a central console. • Symantec Mobile Device Management: Antivirus and malware managed from a central console. • Trend Micro Endpoint Security: Application whitelisting, antivirus, and ransomware protection in a centralized console. • Wandera: Malicious hot-spot monitoring, jailbreak detection, web gateway for mobile threat detection that integrates with common MDM solutions. Automation Tools Scripty tools used to automate management on the Mac • AutoCasperNBI: Automates the creation of NetBoot Images (read: NBI’s) for use with Casper Imaging. • AutoDMG: Takes a macOS installer (10.10 or newer) and builds a system image suitable for deployment with Imagr, DeployStudio, LANrev, Jamf Pro, and other asr or Apple Systems Restore-based imaging tools.
    [Show full text]
  • Building Gplates from Source on Mac OS X Without Package Managers
    Building GPlates from source on Mac OS X without package managers Christian Heine∗ Revision: 1067 Date: 2009-02-26 February 26, 2009 Abstract This article describes how to build the open-source plate tectonic software GPlates on Mac OS X without the need of package managers like MacPorts or Fink. The pro- cedure uses available installer packages for OS X from the net and only requires to compile one single library from source. I have been able to install GPlates smoothly on a Mac Pro and oldish 12” PowerBook using the recipe below. 1 For the impatient This is for the impatient ones which don’t need lengthy explanations: • Install XCode from the Mac Dev Center • Install the GDAL framework and dependancies from William Kyngesbury’s site • Install CMake from the CMake project • Install the Qt framework from Trolltech • Download and compile the ICU libaries from the ICU Project • Download and unarchive the Boost libaries • Download and unarchive the GPlates source • Open CMake.app and point it to the directory where you unarchived the GPlates source code. • Configure GPlates build in CMake.app • Compile GPlates in Terminal.app by typing make in the GPlates source direc- tory. ∗Email: [email protected] 1 Heine BuildingGPlatesOnOSX 20090226.tex 1067 2009-02-26 21:24:04Z christian 2 Prerequisites This build requires that you have basic familiarity with the command line and the Terminal on Mac OS X using Terminal.app. In order to be able to compile some of the components, it is required to have a c++ compiler installed on your machine.
    [Show full text]
  • CDE: Run Any Linux Application On-Demand Without Installation
    CDE: Run Any Linux Application On-Demand Without Installation Philip J. Guo Stanford University [email protected] Abstract with compiling, installing, and configuring software and their myriad of dependencies. For example, the official There is a huge ecosystem of free software for Linux, but Google Chrome help forum for “install/uninstall issues” since each Linux distribution (distro) contains a differ- has over 5800 threads. ent set of pre-installed shared libraries, filesystem layout In addition, a study of US labor statistics predicts that conventions, and other environmental state, it is difficult by 2012, 13 million American workers will do program- to create and distribute software that works without has- ming in their jobs, but amongst those, only 3 million will sle across all distros. Online forums and mailing lists be professional software developers [24]. Thus, there are are filled with discussions of users’ troubles with com- potentially millions of people who still need to get their piling, installing, and configuring Linux software and software to run on other machines but who are unlikely their myriad of dependencies. To address this ubiqui- to invest the effort to create one-click installers or wres- tous problem, we have created an open-source tool called tle with package managers, since their primary job is not CDE that automatically packages up the Code, Data, and to release production-quality software. For example: Environment required to run a set of x86-Linux pro- grams on other x86-Linux machines. Creating a CDE • System administrators often hack together ad- package is as simple as running the target application un- hoc utilities comprised of shell scripts and custom- der CDE’s monitoring, and executing a CDE package re- compiled versions of open-source software, in or- quires no installation, configuration, or root permissions.
    [Show full text]
  • MAC OSX Tips
    Table of Contents MAC OSX tips keys linux-like environment and FINK MacPorts tips Build from source VS use binaries Useful commands MAC OSX tips Overview Some tips and hints on MacOSX usage: tame your keyboard and go ahead with compilation. edit 1414069126 [MAC OSX tips] section 1-168 1/8 documentation:tools:macosx_tips Edit keys quick copy and paste with CMD touch + c and + v key pipe | : alt + Maj + l tilde ~: alt +n square brackets [ or ]: alt + Maj + ( or ) antislash \:alt + maj + : edit 1414069126 [keys] section 169-383 documentation:tools:macosx_tips Edit linux-like environment and FINK 2/8 What is Fink? Fink is a distribution of Unix Open Source software for Mac OS X and Darwin. It brings a wide range of free command-line and graphical software developed for Linux and similar operating systems to your Mac. Quick Start Download the installer disk image: Fink 0.9.0 Binary Installer Double-click ?Fink-0.9.0-XYZ-Installer.dmg? to mount the disk image, then double-click the ?Fink 0.9.0 XYZ Installer.pkg? package inside. Follow the instructions on screen. At the end of the installation, the pathsetup utility will be launched. You will be asked for permission before your shell's configuration files are edited. When the utility has finished, you are set to go! Using the fink tool The fink tool uses several suffix commands to work on packages from the source distribution. Some of them need at least one package name, but can handle several package names at once. You can specify just the package name (e.g.
    [Show full text]
  • Beginning System Administration Decal
    Review Installing Software Debian GNU/Linux Beginning System Administration DeCal Week 6 March 03, 2009 Week 6 Beginning System Administration DeCal Review Installing Software Debian GNU/Linux Review So Far... (hopefully) History of UNIX Design choices Terminal, shell, and interaction with UNIX Foundation of the Internet Using UNIX Users and Permissions Account management (add/del/disable users) File system layout Week 6 Beginning System Administration DeCal Review Installing Software Debian GNU/Linux Review So Far... (cont.) Software Downloading and extracting packages ( wget, tar, gzip) Configuring and compiling (./configure, make, make install) Configuration (.conf files, /etc) Week 6 Beginning System Administration DeCal Review Considerations Installing Software Package Managers Debian GNU/Linux Software Two options: 1 compile from source 2 download and install from binaries download binaries manually use a package management system How about both? When to choose which? Software release cycle Security and feature patches Week 6 Beginning System Administration DeCal Review Considerations Installing Software Package Managers Debian GNU/Linux What’s the single biggest advancement Linux has brought to the industry? It’s an interesting question, and one that in my opinion has a very simple answer: Package management-or, more specifically, the ability to install and upgrade software over the network in a seamlessly integrated fashion-along with the distributed development model package management enabled. Ian Murdock (founder of Debian) http://ianmurdock.com/2007/07/21/how-package-management-changed-everything/
    [Show full text]
  • Running Digital Micrograph on Linux and Mac OSX
    Downloaded from Running Digital Micrograph on Linux and Mac OSX https://www.cambridge.org/core Robert Hovden School of Applied and Engineering Physics, Cornell University, Ithaca, NY 14853 [email protected] Introduction that allows Unix-like operating systems to execute . IP address: Gatan Digital Micrograph (DM) software is considered programs written for Microsoft Windows. Wine provides a an industry standard among microscopists. The offline DM compatibility layer that allows Windows system calls to be run on a substitute operating system. As stated by internal application is freely available from Gatan [1]. Unfortunately, 170.106.202.58 DM software has been designed to run only on Microsoft Wine admins, “You can start your Windows application Windows operating systems, thus distancing the microscopy straight from your regular desktop environment, place that community from popular Unix-based systems, such as Linux application’s window side by side with native applications, or Mac OSX. An ad hoc solution to this problem has required copy/paste from one to the other, and run it all at full speed” , on a virtualized Windows operating system running on top [2]. After installing Wine and the necessary Microsoft 28 Sep 2021 at 14:01:56 of the user’s native operating system. This is not only slow, components, DM runs readily on Linux or OSX. The software having to emulate each processor instruction, but also requires has been tested using the offline DM V2.01 demo provided installation and licensing of Windows and the virtualization by Gatan. software. However, with the aid of open-source resources, it The steps for a Linux system are nearly identical and is possible to run DM natively on Linux and Mac OSX (Figure simpler than OSX, so the remainder of this guide is addressed , subject to the Cambridge Core terms of use, available at 1).
    [Show full text]
  • Table of Contents Persint
    Table of Contents Persint................................................................................................................................................................1 An ATLAS Detector and Event Display................................................................................................1 Introduction.............................................................................................................................................1 Documentation and support....................................................................................................................1 Other links...............................................................................................................................................1 Supported platforms................................................................................................................................2 Installation..............................................................................................................................................3 Tarball - Download and install complete source tarball (15 MB)...................................................3 svn - Download code from source repository and install.................................................................3 Ubuntu package................................................................................................................................3 Pre-installed lxplus version..............................................................................................................3
    [Show full text]