Labo #0000 Mac OS
Search Our Test Directory. Access general reference information for many of the tests offered at MACL. This includes CPT Codes, general specimen requirements, transport considerations. OS X Lion keeps all of the best features of previous versions, while incorporating some of the revolutionary ideas used with the iPad. Hence, more users will be enticed to convert from a PC to a Mac - creating a higher demand for Mac books. Mac OS X Lion in easy steps addresses the needs of this market. In clear and concise manner, it'll guide. Mar 25, 2021 MEUC Update – 3/25/21: The Mixed Earner Unemployment Compensation (MEUC) program is now available for eligible claimants for the benefit weeks ending January 3, 2021 to September 5, 2021.
$Id: install-guide-unix.html 6309 2019-07-28 22:01:05Z JohnHenning $ | Latest: www.spec.org/cpu2017/Docs/ |
---|
Summary
691 0000 X,Mac OS v8.0. Apple Internal Distribution Only (CD) An icon used to represent a menu that can be toggled by interacting with this icon. . As of 2018 60 million Hispanics live the United States. The nearly 4.4 million Latino-owned businesses in the United States contribute more than $700 billion to the American economy every year, Hispanics accounted for 18% of the U.S. Latino-owned companies have grown 31.6 percent since 2012.
Contents
Prepare for the Installation
1. Review Prerequisites
2. Verify the download (optional, recommended)
3. Mount the ISO image
Install it
4. Set your directory to the mounted image
5. Use install.sh
5.a. Select Destination
5.b. The toolset is selected (usually automatic)
5.c. The files are unpacked and tested
Test your installed copy
6. Source shrc or cshrc
7. Select a config file and try to build one benchmark
8. Try compiling an entire suite, and run the test workload
9. Try a full (reportable) run
Appendix 1: Uninstalling SPEC CPU 2017
Appendix 2: Installing from a tarfile
This document describes how to install SPEC CPU®2017 on Unix systems, including AIX, Linux, macOS, Solaris, andsimilar systems. (If you want to install under Microsoft Windows, you need the other install guide.) SPEC CPU 2017 is a product of the SPEC® non-profitcorporation (about SPEC).
Reminder: SPEC benchmarks are licensed software.
- If you have a license, you may install on multiple systems within your institution.
- You may not share the software with the public.
Prepare for the Installation
To prepare for the installation, please follow these steps:
1. Review Prerequisites
Review the System Requirements.Please particularly notice the requirements for:
- Physical memory
- Disk space
- Familiarity with basic Unix shell commands (such as ls, man, and mkdir) and with the terminal window (aka 'command window', 'shell', 'console', 'terminal emulator', 'xterm').
If you haven't already done so, start a terminal window now.
2. Verify the download (optional, recommended)
SPEC CPU is distributed as an ISO image. The file is large; therefore it is recommended (though notrequired) that you verify that the download is correct before continuing.
If you have the sha512sum or sha256sum utility, use it to calculate a checksum for yourdownload. Compare the checksum to the posted value at www.spec.org/cpu2017/releases.
q. | Is it ok to skip doing this verification? I trust my network and I don't feel like hunting for a SHA-512 tool just now. |
a. | It's always safer to verify downloads. However, if you skip this step, you will probably be ok, because the installation procedure will verify the individual files within the distribution. |
3. Mount the ISO image
Mount the image, using the methods appropriate for your operating system. The following examplesare not intended to be comprehensive, but may get you started, or at least give you clues which manpages to read:
AIX | Become root. (*) Then: |
HP-UX | Become root. (*) Then: |
Linux | On Linux, you can try clicking on an ISO image; but a GUI 'mount' might be only a file browser. You may need to become root. (*) |
Mac OS X | As an ordinary, non-privileged user: |
Solaris | Become root. (*) Then: |
(*) Can't be root? See the tarfile option. |
As noted above, for some operating systems you may need root privileges to mount the image. You should notneed root privileges at any other time during this installation procedure, nor when running SPEC CPU benchmarks. In general,it is recommended that you use an ordinary user account for SPEC CPU.
Install it
Now that the distribution is mounted, you can use the installer.
If you prefer a non-interactive installation, see ./install.sh -h
Most users will probably prefer to use the steps below:
4. Set your directory to the mounted image
Nintendo Labo
If you had privileges enabled for the portion above, you can turn them off now.
Set your current working directory to the directory where the image is mounted. The exact command willvary depending on how you mounted it, the label on the image, and the operating system. It might look something like one ofthese:
5. Use install.sh
Type:
If you already have the environment variable $SPEC defined, you will see a warning similar tothe following.
Just say 'no'.
5.a. Select Destination
You will be prompted for a destination directory. You may need to avoid using environment variables(such as $HOME) and the tilde symbol (~). Please do not put any spaces in the path, because many Unixprograms use space as an argument delimiter.
Might fail: | $HOME/Benchmarks/SPEC/CPU2017/ ~/Benchmarks/SPEC/CPU2017/ $SCRATCH/cpu2017 |
Definitely Bad: | /home/subhash/My Benchmarks/SPEC CPU2017/ |
Good: | /home/subhash/Benchmarks/SPEC/CPU2017/ /scratch/cpu2017 |
The example below specifies a full path to a directory underneath the user's home directory.
Notice above that you will be asked to confirm your choice. If you enter 'no', the procedure will exit, and you can try again.
Note: You can also specify the destination directory in the commandline, using the -d flag, for example, like this:
./install.sh -d /home/subhash/cpu2017
5.b. The toolset is selected (usually automatically)
SPEC CPU 2017 includes a set of pre-compiled binary tools. The installation procedure tries to select a set thatmatches your hardware and operating system.
Usually, you should not worry about whether the toolset is an exact match to your current environment,because the toolset selection does not affect your benchmark scores, and because the installation procedure does aseries of tests to ensure that the selected tools work on your system.
If at least one candidate match is found, you will see a message such as:
If the installation procedure is unable to determine your system architecture, you will see a message suchas:
If you see that message, please stop here, and examine the file tools-build.html
Note: If the tools that are automatically installed on your system do not work, but you know that another set of tools distributed with SPEC CPU 2017 will work, you can exclude the ones that do not work. You may be instructed to do this during the first installation. Use the -e flag for install.sh, for example:
./install.sh -e linux-x86_64
The above will cause the tools for linux-x86_64 to be excluded from consideration, and the installation procedure will check whether one of the other toolsets works on this system.
Alternatively, you can explicitly direct which toolset is to be used with the -u flag for install.sh, for example:
./install.sh -u aix-ppc
The above will cause the installer to try to use the aix-ppc toolset. If you specify tools that do not work on your system, the installation procedure will stop immediately, without installing anything.
5.c. The files are unpacked and tested
No more questions are asked. The script unpacks the files, and tests them.
Note that the testing phase (just above) may take more time than it does to do the unpacking.This is normal.
At this point, you will have consumed about 2.6 GB of disk space on the destination drive.
Test your installed copy
From this point forward, this Installation Guide walks you through basic testing of the installed copy, includingcompiling benchmarks and running them.
If you prefer to skip this part, perhaps because someone else has given you pre-compiled binaries, please note that youremain responsible for compliance with SPEC's Fair Use ruleand the CPU 2017 run rules.
6. Set paths, using shrc or cshrc
Set paths: Use a path command from the table below. On Unix systems, determine whether you areusing a C-compatible-shell (such as csh, tcsh) or a Bourne-compatible shell (such as
System | shell | Example | Instructions |
Unix | C-shell compatible | cd to the directory where you installed your copy of SPEC CPU 2017 and say: source cshrc | |
Bourne compatible | cd to the directory where you installed SPEC CPU 2017 and try: |
7. Select a config file and try to build one benchmark
Find a Config File:You will need to select a config file. Config files contain details such as portability and optimization options. If youare a beginner, you will probably start with an existing config file. You can find one:
In your installed copy of SPEC CPU 2017:
- At www.spec.org/cpu2017/results. Look for a system similar to yours, click the 'config' link.
- Or, write your own.
Name it: Copy your selection to a new file in the config directory. Give it a namethat does not use blanks. Hint: make the name something useful to *you*, for example:
Edit the label: Usually it is a good idea to edit the file and change the linethat says:
or if there is no such line, then add one at the top. The label is an arbitrary tag that is added to your binaries and directories, which can come in very handy when you needto (for example) find your run directories, analyze a problem, and clean disk space. As with the config file name, make itsomething meaningful to *you*. No blanks are allowed.
Other Edits:
- Look for any locations marked EDIT and make changes as needed.
- Look for paths and adjust if needed (example: your compiler is in /opt/bin but the config file uses /usr/bin).
Look for any commands in the config file, and verify that they will not cause surprises.
Warning: SPEC CPU config files can execute arbitrary shell commands.
Read a config file before using it.
Don't be root. Don't run as Administrator. Turn privileges off.
Example: The go command is a handy utility formoving around in the installed tree. It is set up by shrc (or cshrc).
You can see in the diff command above that the tester has chosen to:
- Tag binaries with the label firstrun. You can set whatever string makes sense to you, to help you keep track of your work.
- Use 4 processors during compiles, because that is the number available on his laptop.
- Set gcc_dir to the location where GCC V6.2 was installed
Try to build a single benchmark. Begin with a benchmark that compiles quickly, such as 505.mcf_r (or if you are using a config file designed for SPECspeed®, try 619.lbm_s.)
Did it work? Compare your output to the above.
If the above succeeds | You have established that SPEC CPU 2017 is installed and the tools can use your config file to find a 'C' compiler. Let us take a brief look (with go) at what the above command did: Notice that:
|
If the above fails | Usually, failures happen if you start with a config file that is not intended for your operating system and compiler (About Config Files), If a file is mentioned with more information, please carefully examine it. Look on your screen for messages of the form Error ... check file: /path/to/file. You can use commands such as go to locate the log file and the build directory, and useful files within the build: |
8. Try compiling an entire suite, and run the test workload
SPEC CPU 2017 contains 43 benchmarks which aredivided into 4 suites:
- intrate
- intspeed
- fprate
- fpspeed
Let's pick a suite and build all the benchmarks in that suite. The command below,
- Selects the smallest workload size
- Ensures that only one copy is run.
- Continues a line using backslash ()
- Confirms that runcpu should not do a full, reportable run (--noreportable).
- Runs each benchmark only once (iterations=1).
Note above that compiling the SPECrate®2017 Integer benchmarks and running the brief test workload took about 12 minutes (710seconds). Your time may be considerably different, especially when building the floating pointbenchmarks, some of which are very complex. The time required to do a build also depends directly upon the config file optimization selections.
9. Try a full (reportable) run
If everything has worked up to this point, you may want to start a reportable run, perhaps leaving your computer to run overnight. Important: review how many CPUs are used by the config file, and adjust as needed. As explained inthe System Requirements, both SPECrate® and SPECspeed® cantest multiple chips / cores / hardware threads:
- For SPECrate, you set the number of copies.
- For SPECspeed, you set the number of threads.
Check how many processors are on your system; also check the memory requirements (which differ depending on what you are testing).
The laptop in this example has 1 chip, 2 cores, and 4 hardware threads:
The tester decides to run 2 copies for the SPECrate Integer test, matching the number of cores:
Labo #0000 Mac Os X
If you have not already done so, you should also edit your config file to describe the system under test. See config.html for information on the various fields for the humanwho reads your results. The Example config files have a section to get you started.
The run is started, using the reportable option:
The run completed successfully. On this particular laptop, a 2-copy reportable intrate run, using base-only tuning, required less than 3 hours (9776 seconds). Much more time would beneeded if the run used both base and peak tuning, or used more copies, orasked for additional suites (fprate, intspeed, or fpspeed).
Appendix 1: Uninstalling SPEC CPU 2017
At this time, SPEC does not provide an uninstall utility for SPEC CPU 2017. Confusingly, there is a file named uninstall.sh in the top directory, but it does not remove the whole product; itonly removes the SPEC tool set, and does not affect the benchmarks (which consume the bulk of the disk space).
To remove SPEC CPU 2017 on Windows systems, select the top directory in Windows Explorer and delete it.
To remove SPEC CPU 2017 on Unix systems, use rm -Rf on the directory where you installed thesuite, for example:
If you have been using the output_root feature, youwill have to track those down separately. Therefore, prior to removing the tree, you mightwant to look for mentions of output root, for example:
Note: instead of deleting the entire directory tree, some users find it useful to keep theconfig and result subdirectories, while deleting everything else.
Appendix 2: Installing from a tarfile
If you are unable to mount the ISO image on the system where you want to install SPEC CPU 2017 (perhaps because youlack root privileges), you may use the following alternative.
Do one of these two:
- Find some other system -- perhaps a laptop? -- where you can mount it; or
- Find a system that at least lets you 'browse' the contents of the ISO.
(For example, on many systems, you can use your mouse to click on the image and extract items from it.)
Retrieve 5 things from the image:
- install_archives/cpu2017.tar.xz (or similar -- the name might change slightly from time to time).
- install_archives/cpu2017.tar.xz.sha512
- tools/bin/(dir)/specxz where (dir) matches the system on which you plan to install CPU 2017.
- tools/bin/(dir)/spectar
- tools/bin/(dir)/specsha512sum
Copy the above 5 to the system where you wish to install SPEC CPU 2017. Be sure that your copy method does not change the files (for example, you might need to select a binary transmission mode.)
Use specsha512sum to verify the checksum of the large archive and then use specxz and spectar to unpack it. NOTE that you should not use your own system tar unless you are sure that it can handle long directory paths.
Then, start install.shas described in Step 5, above.
Example: In this example, the ISO image is mounted on a Mac OS X laptop. The destination systemfor SPEC CPU 2017 is a Linux system.
... and so forth, as described in Step 5, above.
Installing SPEC CPU®2017 on Unix Systems Including: AIX, Linux, Mac OS X, Solaris, and similar systems:Copyright © 2017-2019 Standard Performance Evaluation Corporation (SPEC®)
To The Latin American Business Organization Official Page.
• As of 2018 60 million Hispanics live the United States
• The nearly 4.4 million Latino-owned businesses in the United States contribute more than $700 billion to the American economy every year, Hispanics accounted for 18% of the U.S. population.
• Latino-owned companies have grown 31.6 percent since 2012
• Latino-owned Business Not receiving Venture Capital 99%