Installing Fink Cernlib And G77 For Mac
2021年10月25日Download here: http://gg.gg/wb7aw
This page describes how to install and uninstall JDK 8 for OS X computers.
This page has these topics:
See ’JDK 8 and JRE 8 Installation Start Here’ for general information about installing JDK 8 and JRE 8.
See ’OS X Platform Install FAQ’ for general information about installing JDK 8 on OS X.System Requirements
I am also trying to install Fortran 77 compiler. I have 10.4 intel Mac. I installed fink then fort77 but when I run #fort77 test.f Can’t exec ’cc’: No such file or directory at /sw/bin/fort77 line 392. /sw/bin/fort77: aborting compilation when I try to install g77 it gives: #sudo fink install g77 could not determine XFree86 version number.
CERNLIB, Dis45, and TDR on MacOS X Of course, you need to install X11 beforehand. Preparation: lapack. Notice that as of CERNLIB v.2001, lapack routines have been removed from mathlib. The g77 compiler provided by FINK seems to be PPC only, so you might try the evaluation version of Intel’s Fortran compiler for Mac OS. $ fink configure. In which you must select the use of the ’unstable’ branch of packages in order to get access to numpy, etc. This is not sketchy in the way that it sounds! Then run $ fink selfupdate. Which may take a LONG time to complete. Then run $ fink index $ fink scanpackages $ fink install scipy-py26 $ fink install matplotlib-py26 $ fink. I have a library which needs g77 compiler. I found few methods online; but each failed. Here is summary of two of my efforts: 1) I downloaded the packages, untar it and $ sudo./install.sh.
Observe the following requirements:
*
Any Intel-based computer running OS X 10.8 (Mountain Lion) or later.
*
Administrator privileges.
Note that installing the JDK on OS X is performed on a system wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user.
Installing the JDK also installs the JRE. The one exception is that the system will not replace the current JRE with a lower version. To install a lower version of the JRE, first uninstall the current version as described in ’Uninstalling the JRE’.JDK Installation Instructions
When you install the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is installed at the same time. The JavaFX SDK and Runtime are also installed and integrated into the standard JDK directory structure.
Depending on your processor, the downloaded file has one of the following names:
*
jdk-8uversion-macosx-amd64.dmg Xforce keygen 3ds max 2013 64 bit free download.
*
jdk-8uversion-macosx-x64.dmg
Where version is 6 or later.
*
Download the file.
Before the file can be downloaded, you must accept the license agreement.
*
From either the Downloads window of the browser, or from the file browser, double click the .dmg file to launch it.
A Finder window appears containing an icon of an open box and the name of the .pkg file.
*
Double click the package icon to launch the Install app.
The Install app displays the Introduction window.
Note: In some cases, a Destination Select window appears. This is a bug, as there is only one option available. If you see this window, select Install for all users of this computer to enable the Continue button.
*
Click Continue.
The Installation Type window appears.
*
Click Install. How to reset password for mac pc.
A window appears that says ’Installer is trying to install new software. Type your password to allow this.’
*
Enter the Administrator login and password and click Install Software.
The software is installed and a confirmation window appears.
*
Refer to http://www.oracle.com/technetwork/java/javase/downloads/jdk-for-mac-readme-1564562.html for more information about the installation.
*
After the software is installed, delete the .dmg file if you want to save disk space.Determining the Default Version of the JDK
If you have not yet installed Apple’s Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See ’Note for Users of OS X that Include Apple Java 6 Plug-in’.
There can be multiple JDKs installed on a system, as many as you wish.
When launching a Java application through the command line, the system uses the default JDK. It is possible for the version of the JRE to be different than the version of the JDK.
You can determine which version of the JDK is the default by typing java -version in a Terminal window. If the installed version is 8u6, you will see a string that includes the text 1.8.0_06. For example:
To run a different version of Java, either specify the full path, or use the java_home tool:
For more information, see the java_home(1) man page.Uninstalling the JDK
To uninstall the JDK, you must have Administrator privileges and execute the remove command either as root or by using the sudo(8) tool.
For example, to uninstall 8u6:
Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.
This page gives guidance to Mac OS/X users on how to install and configure the grid tools and libraries, and integrate them for running GlueX offline software. The reader is assumed to have sysadmin privileges on the target Mac OS/X machine, and to be familiar with standard command-line package installation procedures for Darwin platforms. The installation proceeds in several distinct stages.Installation of the Xcode developer suite
The Xcode software development suite includes copies of the gnu c/c++ compilers and associated libraries that have been tweaked by Apple for the Darwin platform. If you have done any software development on your Mac, you probably have already installed this. If not, there is abundant help out there on the web for how to download and install it. It is downloaded from the Apple Appstore, but costs nothing. You are required to sign up as an Apple Developer before you can download the package. You might wonder why you have to install this bundle if (see below) in a few minutes you are going to install a more complete compiler suite that includes the gfortran compiler and libraries. Part of the answer lies in the fact that by becoming an ’Apple Developer’ you respect Apple licensing restrictions in the use of these compilers. Presumably that also covers you for any other versions of the compilers and libraries that you download and install later.Installation of the apt package installer
You are probably familiar with the well-known open source software distribution and installation tool called Fink. However the Fink repository does not include the OSG Client stack, nor anything else that you need to run GlueX software. Instead, there are two other package installers that are recommended here: apt and pacman. Users familiar with common Linux distributions will recognize apt/dpkg as the Debian equivalent of Redhat’s yum/rpm. HEP researcher Taizo Kobayashi has created an equivalent to apt for Mac OSX called OSXWS (Mac OS/X WorkShop) and his colleague Keisuke Fujii maintains an up-to-date OSXWS repository for common HEP/NP software and tools. You can browse his apt package tree to see all of the releases of OS/X that his repository covers. All software installed by the apt tool goes into the /usr/osxws tree, so no software already installed on your system will be overwritten. To install OSXWS on your system, please select the package corresponding to your OS release from the list below.
Once installed, the apt tool will automatically recognize which OS/X release you are running and fetch its downloads from the appropriate branch of the dpkg tree. You might notice that binary distributions of cernlib, geant4, etc. are available for immediate installation using apt-get. You are free to install any of these that you might find useful, but this is not necessary. The GlueX grid tools will download, build, and install specific revisions of these libraries that are known to work with GlueX offline software. All that is needed in this step is the apt tool itself.Update of the gcc/gfortran/g++ compiler bundle
From Keisuke Fujii’s web site:
gcc-4.X that comes with Apple’s standard DevTools does not include ’gfortran’, the GNU fortran 95 compiler. Although its source tree does include one, building gfortran from Apple’s source tree requires some patching to satisfy undefined references caused by Apple’s modifications that broke Language independence. Moreover, the gfortran source files are not up-to-date and require a lot of patching to be usable: I had been using the patched versions for some time but recently switched to a more recent version gcc-4.Y. In order to make gcc-4.Y coexist with Apple’s gcc-4.X, I decided to configure gcc-4.Y to be installed under /usr/osxws together with other ’MacOSX WorkShop’ packages.
In the previous step you installed the OSXWS apt tool on your system. Now you can use it to install a version of the gcc compiler suite that includes a version of gfortran that works on Mac OS/X. This is necessary in order to build applications from a mixture of c/c++ and fortran sources. From a terminal window, enter the following commands.
If you open a new shell, you should see the new compilers appearing first in your path. For more information about a few idiosyncrasies of the gfortran compiler on the Mac, see REMARKS.Installation of pacman
The packages installed so far have prepared your system to build and run GlueX offline software on your local machine in an environment identical to what is present when it runs on the grid. This will be essential when you are testing your application before submitting it to run on the grid, or when you are trying to understand what went wrong with a grid job. What remains is to install the applications that you will use to access grid resources. Since you will only be a user of grid resources and not a provider, all you need to install is the Grid Client package. At the present time, the best way to install the OSG Client is using the pacman package manager, and the VDT (Virtual Data Toolkit) distribution from the University of Wisconsin. Download and install the pacman application by issuing the following commands from within a work directory under the Users tree.
After this, you can source the setup script from any directory and pacman is ready to go. Pacman is written in python, so there is nothing to compile.Installation of the VDT 2.0 OSG Client package
Create a directory in a location of your choice where you will install the OSG Client toolkit, which you might name something like ’osg-client’, then cd to that directory and issue the following commands. Pacman will ask for permission to approve things a few times, to which you should answer yes (y).
A log of the installation process that streams to the screen is also saved to a file, so there is no need to read every message as it prints. Let it proceed to the end, then review the log that is saved in the file vdt-install.log. Complete the installation with the following commands.
In the future, all you will need to do is to source the setup script and the OSG client tools will be placed in your path, together with any dynamic libraries on which they depend. Before you can use the tools, you must install the list of approved certificate authorities (CA’s) that the OSG uses to authenticate its resources. The following command installs the latest snap-shot of the approved CA list.
The following command will make it possible for you to submit grid jobs directly from your Mac, and monitor their progress.
If you want to be able to submit grid jobs from this machine, you should make sure that the command ’hostname’ returns a fully-qualified internet ip name for your host. Sometimes Mac’s have stunted addresses like ’myMac.local’. If you don’t want to change this, or if your Mac is a laptop and the IP address changes on a regular basis, you can just set the environment variable CONDOR_HOSTNAME to the FQDN of the host and the toolkit will use that instead of `hostname`.Installing Fink Cernlib And G77 For Mac DownloadInstalling Fink Cernlib And G77 For Mac OsRetrieved from ’https://halldweb1.jlab.org/wiki/index.php?title=Instructions_for_Installing_the_OSG_Client_on_Mac_OS/X&oldid=43536’
Download here: http://gg.gg/wb7aw
https://diarynote-jp.indered.space
This page describes how to install and uninstall JDK 8 for OS X computers.
This page has these topics:
See ’JDK 8 and JRE 8 Installation Start Here’ for general information about installing JDK 8 and JRE 8.
See ’OS X Platform Install FAQ’ for general information about installing JDK 8 on OS X.System Requirements
I am also trying to install Fortran 77 compiler. I have 10.4 intel Mac. I installed fink then fort77 but when I run #fort77 test.f Can’t exec ’cc’: No such file or directory at /sw/bin/fort77 line 392. /sw/bin/fort77: aborting compilation when I try to install g77 it gives: #sudo fink install g77 could not determine XFree86 version number.
CERNLIB, Dis45, and TDR on MacOS X Of course, you need to install X11 beforehand. Preparation: lapack. Notice that as of CERNLIB v.2001, lapack routines have been removed from mathlib. The g77 compiler provided by FINK seems to be PPC only, so you might try the evaluation version of Intel’s Fortran compiler for Mac OS. $ fink configure. In which you must select the use of the ’unstable’ branch of packages in order to get access to numpy, etc. This is not sketchy in the way that it sounds! Then run $ fink selfupdate. Which may take a LONG time to complete. Then run $ fink index $ fink scanpackages $ fink install scipy-py26 $ fink install matplotlib-py26 $ fink. I have a library which needs g77 compiler. I found few methods online; but each failed. Here is summary of two of my efforts: 1) I downloaded the packages, untar it and $ sudo./install.sh.
Observe the following requirements:
*
Any Intel-based computer running OS X 10.8 (Mountain Lion) or later.
*
Administrator privileges.
Note that installing the JDK on OS X is performed on a system wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user.
Installing the JDK also installs the JRE. The one exception is that the system will not replace the current JRE with a lower version. To install a lower version of the JRE, first uninstall the current version as described in ’Uninstalling the JRE’.JDK Installation Instructions
When you install the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is installed at the same time. The JavaFX SDK and Runtime are also installed and integrated into the standard JDK directory structure.
Depending on your processor, the downloaded file has one of the following names:
*
jdk-8uversion-macosx-amd64.dmg Xforce keygen 3ds max 2013 64 bit free download.
*
jdk-8uversion-macosx-x64.dmg
Where version is 6 or later.
*
Download the file.
Before the file can be downloaded, you must accept the license agreement.
*
From either the Downloads window of the browser, or from the file browser, double click the .dmg file to launch it.
A Finder window appears containing an icon of an open box and the name of the .pkg file.
*
Double click the package icon to launch the Install app.
The Install app displays the Introduction window.
Note: In some cases, a Destination Select window appears. This is a bug, as there is only one option available. If you see this window, select Install for all users of this computer to enable the Continue button.
*
Click Continue.
The Installation Type window appears.
*
Click Install. How to reset password for mac pc.
A window appears that says ’Installer is trying to install new software. Type your password to allow this.’
*
Enter the Administrator login and password and click Install Software.
The software is installed and a confirmation window appears.
*
Refer to http://www.oracle.com/technetwork/java/javase/downloads/jdk-for-mac-readme-1564562.html for more information about the installation.
*
After the software is installed, delete the .dmg file if you want to save disk space.Determining the Default Version of the JDK
If you have not yet installed Apple’s Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See ’Note for Users of OS X that Include Apple Java 6 Plug-in’.
There can be multiple JDKs installed on a system, as many as you wish.
When launching a Java application through the command line, the system uses the default JDK. It is possible for the version of the JRE to be different than the version of the JDK.
You can determine which version of the JDK is the default by typing java -version in a Terminal window. If the installed version is 8u6, you will see a string that includes the text 1.8.0_06. For example:
To run a different version of Java, either specify the full path, or use the java_home tool:
For more information, see the java_home(1) man page.Uninstalling the JDK
To uninstall the JDK, you must have Administrator privileges and execute the remove command either as root or by using the sudo(8) tool.
For example, to uninstall 8u6:
Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.
This page gives guidance to Mac OS/X users on how to install and configure the grid tools and libraries, and integrate them for running GlueX offline software. The reader is assumed to have sysadmin privileges on the target Mac OS/X machine, and to be familiar with standard command-line package installation procedures for Darwin platforms. The installation proceeds in several distinct stages.Installation of the Xcode developer suite
The Xcode software development suite includes copies of the gnu c/c++ compilers and associated libraries that have been tweaked by Apple for the Darwin platform. If you have done any software development on your Mac, you probably have already installed this. If not, there is abundant help out there on the web for how to download and install it. It is downloaded from the Apple Appstore, but costs nothing. You are required to sign up as an Apple Developer before you can download the package. You might wonder why you have to install this bundle if (see below) in a few minutes you are going to install a more complete compiler suite that includes the gfortran compiler and libraries. Part of the answer lies in the fact that by becoming an ’Apple Developer’ you respect Apple licensing restrictions in the use of these compilers. Presumably that also covers you for any other versions of the compilers and libraries that you download and install later.Installation of the apt package installer
You are probably familiar with the well-known open source software distribution and installation tool called Fink. However the Fink repository does not include the OSG Client stack, nor anything else that you need to run GlueX software. Instead, there are two other package installers that are recommended here: apt and pacman. Users familiar with common Linux distributions will recognize apt/dpkg as the Debian equivalent of Redhat’s yum/rpm. HEP researcher Taizo Kobayashi has created an equivalent to apt for Mac OSX called OSXWS (Mac OS/X WorkShop) and his colleague Keisuke Fujii maintains an up-to-date OSXWS repository for common HEP/NP software and tools. You can browse his apt package tree to see all of the releases of OS/X that his repository covers. All software installed by the apt tool goes into the /usr/osxws tree, so no software already installed on your system will be overwritten. To install OSXWS on your system, please select the package corresponding to your OS release from the list below.
Once installed, the apt tool will automatically recognize which OS/X release you are running and fetch its downloads from the appropriate branch of the dpkg tree. You might notice that binary distributions of cernlib, geant4, etc. are available for immediate installation using apt-get. You are free to install any of these that you might find useful, but this is not necessary. The GlueX grid tools will download, build, and install specific revisions of these libraries that are known to work with GlueX offline software. All that is needed in this step is the apt tool itself.Update of the gcc/gfortran/g++ compiler bundle
From Keisuke Fujii’s web site:
gcc-4.X that comes with Apple’s standard DevTools does not include ’gfortran’, the GNU fortran 95 compiler. Although its source tree does include one, building gfortran from Apple’s source tree requires some patching to satisfy undefined references caused by Apple’s modifications that broke Language independence. Moreover, the gfortran source files are not up-to-date and require a lot of patching to be usable: I had been using the patched versions for some time but recently switched to a more recent version gcc-4.Y. In order to make gcc-4.Y coexist with Apple’s gcc-4.X, I decided to configure gcc-4.Y to be installed under /usr/osxws together with other ’MacOSX WorkShop’ packages.
In the previous step you installed the OSXWS apt tool on your system. Now you can use it to install a version of the gcc compiler suite that includes a version of gfortran that works on Mac OS/X. This is necessary in order to build applications from a mixture of c/c++ and fortran sources. From a terminal window, enter the following commands.
If you open a new shell, you should see the new compilers appearing first in your path. For more information about a few idiosyncrasies of the gfortran compiler on the Mac, see REMARKS.Installation of pacman
The packages installed so far have prepared your system to build and run GlueX offline software on your local machine in an environment identical to what is present when it runs on the grid. This will be essential when you are testing your application before submitting it to run on the grid, or when you are trying to understand what went wrong with a grid job. What remains is to install the applications that you will use to access grid resources. Since you will only be a user of grid resources and not a provider, all you need to install is the Grid Client package. At the present time, the best way to install the OSG Client is using the pacman package manager, and the VDT (Virtual Data Toolkit) distribution from the University of Wisconsin. Download and install the pacman application by issuing the following commands from within a work directory under the Users tree.
After this, you can source the setup script from any directory and pacman is ready to go. Pacman is written in python, so there is nothing to compile.Installation of the VDT 2.0 OSG Client package
Create a directory in a location of your choice where you will install the OSG Client toolkit, which you might name something like ’osg-client’, then cd to that directory and issue the following commands. Pacman will ask for permission to approve things a few times, to which you should answer yes (y).
A log of the installation process that streams to the screen is also saved to a file, so there is no need to read every message as it prints. Let it proceed to the end, then review the log that is saved in the file vdt-install.log. Complete the installation with the following commands.
In the future, all you will need to do is to source the setup script and the OSG client tools will be placed in your path, together with any dynamic libraries on which they depend. Before you can use the tools, you must install the list of approved certificate authorities (CA’s) that the OSG uses to authenticate its resources. The following command installs the latest snap-shot of the approved CA list.
The following command will make it possible for you to submit grid jobs directly from your Mac, and monitor their progress.
If you want to be able to submit grid jobs from this machine, you should make sure that the command ’hostname’ returns a fully-qualified internet ip name for your host. Sometimes Mac’s have stunted addresses like ’myMac.local’. If you don’t want to change this, or if your Mac is a laptop and the IP address changes on a regular basis, you can just set the environment variable CONDOR_HOSTNAME to the FQDN of the host and the toolkit will use that instead of `hostname`.Installing Fink Cernlib And G77 For Mac DownloadInstalling Fink Cernlib And G77 For Mac OsRetrieved from ’https://halldweb1.jlab.org/wiki/index.php?title=Instructions_for_Installing_the_OSG_Client_on_Mac_OS/X&oldid=43536’
Download here: http://gg.gg/wb7aw
https://diarynote-jp.indered.space
コメント