BrokenFolx Mac OS

BrokenFolx Mac OS

May 30 2021

BrokenFolx Mac OS

Moved Permanently. The document has moved here. Solution 2: Restart the computer.If you are unable to force quit an application, restarting your computer will close all open apps. Problem: The computer is frozen. Sometimes your computer may become completely unresponsive.

Make your Mac invincible
Get Setapp, a toolkit with fixes for all Mac problems

Mozilla's Firefox browser is known for its speed and a large collection of extensions that let you customize the experience to your heart's desire. But when Firefox is running slow, crashing, or not loading websites properly, it can be frustrating to figure out why. Follow our step-by-step guide to get your Firefox back to tip-top condition.

What are the most frequent problems with Firefox?

Overall, Firefox is a top-rated and highly reliable browser — good choice for both professional and everyday users. However, serving so many platforms on so many devices and screens, even the best of the best sometimes let us down. But worry not, in this how-to we've combined the most frequently occurring Firefox problems and written specific instructions on how to fix them.

Fix every Mac problem via Setapp

Get a curated set of Mac applications that fix Firefox — just like tons of other problems on your computer. Give it a try!

Quick navigation:

Why is Firefox so slow, hangs or keeps freezing?

Slow Firefox browsing experience is truthfully beyond annoying. It seems like it's almost working, but you can't get anything done.

Here we've listed some suggestions that should get your Firefox run faster.

1. Close inactive tabs

See how many tabs you have opened. More than a few? Active tabs mean active processes that take up your laptop's RAM and drastically slow down its capabilities. Just close the tabs you're not actively using. If they are important to remember, save them to bookmarks or stash them in a special 'Read Later' list in a to-do application such as 2Do.

2. Clear Firefox cookies and cache

All the websites you visit leave behind cached image files, which are supposed to speed up load times, and cookies, which can save you from having to log in over and over. Those are big conveniences if they work the way they're supposed to, but sometimes cache and cookies can cause glitches and slowdowns.

If Firefox is acting up, you can clear cookies and cache by doing the following:

  • Click the Library button
  • Choose History > Clear Recent History
  • Change the time range to Everything
  • Click the arrow next to the word Details
  • Select Cache and Cookies
  • Then click the Clear Now button

Alternatively, you can do this easier and safer with CleanMyMac. Just click Privacy in the sidebar and then choose Firefox from the list. Change the time range to Everything, and you can clear all of the cookies, browsing history, downloads history, tabs, saved passwords, and even autofill values.

3. Update Firefox and macOS

If closing tabs and clearing the cache didn't work, it's a good idea to update Firefox and macOS to its latest versions. When Firefox is active, just click on Firefox in the menu and select About Firefox. The latest available update should start downloading automatically. When it's ready, click Restart to Update Firefox and you are ready to go.

Updating macOS is easy too. Just launch the App Store on your Mac. Go to the Updates tab and wait till it shows you all the new software versions available. If you see new updates for macOS, click Update and follow the restart instructions.

4. See what consumes hardware resources

If the problem persists, check for high hardware resource usage. For basic information, you can use Mac's native Activity Monitor. However, to see the whole picture, get a pro-level app, such as iStat Menus. If you see Firefox using too much memory or CPU, you need to take some action.

Keep your Mac controlled with iStat Menus

Download a Mac app that cleverly monitors your CPU resources, battery, and anything that affects performance. Fix problems before they arise.


5. Troubleshoot plugins and extensions

When Firefox stops responding to your clicks it's very likely that one of your installed plugins is the culprit. To check for that, click the Menu button, and then choose Add-ons. In the Add-ons Manager's Plugins panel, you can select Never Activate for each plugin, then restart Firefox and see if the problem is still happening.

If the problem is gone, turn the plugins back on one by one, just changing that Never Activate option back to Always Activate. Restart Firefox each time and then try to recreate the error. Once the problem reappears, you'll know it was likely caused by the last plugin you re-enabled.

You can also remove a plugin with CleanMyMac's Extensions tab, which is actually a lot easier than using Firefox. In Firefox itself, you have to type about:plugins, then find the file path for that plugin and navigate to it in the Finder. Mozilla then recommends you change the filename to add an X in front, which will remove the plugin. You can reinstall a fresh copy of the plugin (from official sources only!), or just see if you can live without it.

To check your extensions in Firefox, go to about:add-ons, then click Extensions in the sidebar. You can disable extensions here, and then turn them back on one by one, in the same way you just checked your plugins. If you want to remove all your extensions and start fresh, you can click the Remove button or use the Extensions tab in CleanMyMac, which manages extensions, add-ons, and plugins from one place.

6. Stop loading Flash content

Preventing Flash content from loading automatically deserves a separate explanation. Some websites use way too much Flash content, and loading and playing all of that uses up your computer's resources, especially if you keep a lot of tabs open. Luckily, you can tell Firefox to stop loading Flash content by default, until you ask for it.

  1. Click the Menu button and select Add-ons, or select Tools > Add-ons from your Mac's menu bar. (Or press Command-Shift-A, or type about:add-ons into the URL bar. It all takes you to the same place.)
  2. In the Add-ons Manager, click Plugins in the sidebar, and then look for Shockwave Flash.
  3. Change the dropdown from Always Activate to Ask to Activate. After that, websites will display an Activate Adobe Flash button in place of Flash content, and all you have to do is click that to allow Flash to display it.

Following the tips above should eliminate 90% of your Firefox problems. But if you're still experiencing troubles, there is more you can do. Read on.

Avoid Firefox crashing

Get Setapp to fix Firefox crashing issues. No more freezing or showing errors while loading content.


Mozilla Firefox crashes unexpectedly or won't open

Whether Firefox shows you an error message every time you try to launch the app or right when you're in the middle of a working session, there is only one way to fix that — reinstall the application.

The easiest way to reinstall Firefox is to quit it, delete the Firefox file from your Applications folder, and download the new version from the official Mozilla website. That will uninstall the application but keep all your user data intact, and when you reinstall a new copy, you bookmarks and passwords will still be there.

But that's not the best way to do it, since Firefox leaves all kinds of data on your hard drive besides the main application file. A better way is to use an application that's able to delete all Firefox information completely or simply reset the app, such as CleanMyMac.

To reset the Firefox browser app on mac:

  1. Launch CleanMyMac
  2. Go to the Uninstaller tab
  3. Choose Firefox from the list
  4. Choose Application reset and click Uninstall round button

There are rare cases when the 'Firefox quit unexpectedly' message could be caused by the Mac security update. This happens when your Mac's firewall used to recognize previous versions of Firefox but no longer trusts the new one. Follow official Mozilla documentation to fix this issue.

Firefox shows errors loading websites

So your Firefox is fast and doesn't randomly quit, but still doesn't seem to load websites. There are a few things that might cause this, so let's zero in on the problem by gradually excluding various perpetrators.

1. Check your network connection

Turn your modem off and on (helps in nearly all cases). Check that your network connection is performing up to standards by using WiFi analyzers, such as NetSpot and WiFi Explorer. As soon as you launch NetSpot, make sure it's set to Discover mode, and it will scan all nearby WiFi networks automatically. WiFi Explorer is just as easy — launch the app and click the play button to analyze the network quality around you.

2. Launch websites in other browsers

If your WiFi network seems to be fine, it's good to check whether the connection works in other browsers, like Safari or Chrome, just to make sure that the problem in fact is with Firefox specifically. Then, check the settings in your firewall by following the steps outlined by Mozilla.

3. Fix the proxy server issue

If upon loading the website you get the 'Proxy server is refusing connections' message, there is an easy fix for that.

  1. Open Firefox > Menu > Options
  2. In the Options, click Advanced and then Network
  3. Choose Settings and then 'No proxy' and click OK
  4. Restart Firefox and the problem should be fixed

Brokenfolx Mac Os X

4. Validate the security certificate

In case Firefox shows you that it has troubles validating some website's security certificate, it might be related to improperly set date and time on your system. Just make sure your timezone settings in System Preferences > Data & Time are configured correctly and Firefox should go back to validating the website certificate normally.

5. Flush DNS cache

Another option you can try is flushing the DNS cache, which acts as a temporary database, storing all sorts of connectivity logs and website access attempts.

  1. Open up the Terminal utility
  2. Type sudo killall -HUP mDNSResponder;say DNS cache has been flushed
  3. Press Enter and type your admin password when prompted
  4. An alert a few moments later will inform you that the process is complete

Combine flushing the DNS cache with clearing out cache and cookies from Firefox, and restarting your Mac to get the best result.

6. Disable DNS prefetching

If you are still experiencing troubles loading websites, it could be that DNS prefetching is at play. Usually Firefox tries to speed up loading new websites by using DNS prefetching, but it can also cause loading errors with some system configurations. To disable DNS prefetching:

  1. In the address bar, type about:config and press Return. The about:config 'This might void your warranty!' warning page may appear. Click 'I accept the risk!' to continue.
  2. Hold down the Ctrl key while you click on the list of preferences. Select New and then select Boolean.
  3. In the 'Enter the preference name' field, enternetwork.dns.disablePrefetch and click OK.
  4. Select True when prompted to set the value and click OK.

7. Scan your Mac for malware

The last step to try to fix the website loading issue is to check your system for malware. If you remember Firefox being haunted by ad pop-ups, toolbars you didn't install yourself, or a new default home page, you might have picked up some malware that's hijacking your browser sessions.

A simple malware tool for Setapp users is CleanMyMac Malware Removal tool. It's a free download, with a pro license for more active, real-time protection. The free product will however scan your Mac and safely remove any malware at no cost to you.

Firefox doesn't work as it should

When your Firefox is just generally behaving incorrectly, a few more tips might come in handy. Start with restarting your Mac, and then clear the cache and troubleshoot your plugins as described above.

1. Restart Firefox in Safe Mode

When clearing the cached data doesn't help, try restarting the browser in Safe Mode. This will temporarily turn off your extensions, as well as any extra themes and toolbars, and hardware acceleration. The easiest way to do this is to quit Firefox and restart it holding down your Mac's Option key.

If the problem you were having magically goes away in Safe Mode, then you can proceed to check your extensions, themes, and anything else you've added to Firefox. If you're still having the problem in Safe Mode, that's a sign you might need to just trash your copy of Firefox and start over with a fresh install.

2. Refresh Firefox

There is another clever feature inside Firefox that clears out your extensions and themes, plus resets all the preferences to default, but keeps your personal information intact, including bookmarks, history, open tabs and windows, saved passwords, autofill info, and even cookies.

  • Open Firefox, and type about:support in the URL bar, which takes you to the Troubleshooting Information page
  • You'll find a lot of information about your browser installation, as well as a big friendly Refresh Firefox button at the top-right
  • You can also get to Safe Mode this way, by clicking the button that says Restart with Add-ons Disabled

3. Create a new Firefox profile

For times, when neither options fixed the problem, try creating a fresh Firefox profile, which won't have any of your bookmarks, passwords, and user preferences, but might get rid of the problem.

  • Open the Terminal utility
  • Type in /Applications/Firefox.app/Contents/MacOS/firefox-bin -P
  • Press Enter and the Profile Manager window should open
  • Click Create Profile… then Next and enter the name for the profile
  • Press Done

4. Turn off hardware acceleration

In cases when Safe Mode seemed to fix the problem but checking plugins didn't bring any result, the problem may hide in hardware acceleration, which is off by default in Safe Mode. Here's how to turn it off in the regular mode too:

  • Open Firefox > Preferences
  • In the General panel, scroll down to the Performance section and uncheck the box labeled 'Use recommended performance settings'
  • Uncheck another box named 'Use hardware acceleration when available'
  • Then quit and restart Firefox

There you go. About a dozens of apparent and not-so-apparent tips should bring your Firefox to the best shape possible. And even if you don't experience many troubles with Firefox, following some tips above would help you optimize its speed and responsiveness. Best of all, you don't need a lot of third-party tool to perform a thorough checkup, and all the tools you need are easily available on Setapp.

Setapp uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy.
< Installation‎ Mac OS

This is a transcript and subsequent improvements on the guide made by Michael Plagge. The original PDF: Compiling Manual OpenFOAm Mac OS X.pdf



  • 2Installing and compiling OpenFOAM 2.1 with GCC 4.6 and OpenMPI 1.5.4
    • 2.6Building OpenFOAM

This manual assumes that the reader is familiar with Mac OS X, the installation of applications as well as with basic commands in the Terminal.app. This manual coversthe installation of OpenFOAM on Mac OS X 10.6.8, also called Snow Leopard.

What do you need?

  • Apple Mac OS X 10.6.8
  • Apple Developer Tools 3.2.6 (delivered on the DVDs you’ve got with your mac, or you can download this here: developer.apple.com)
  • MacPorts software, you can download this here: www.macports.org

For downloading the Apple Developer Tools you might have to become a member of the Apple developer site, it is still free.

How do I know if the above mentioned software is already installed?

  1. Open the Terminal.app, which you will find in your /Applications/Utilities folder:
  2. Type:

    the output should look like this:

  3. Check for the MPI installation as well by typing:
    Note: the option -V is different from -v
  4. After installing the MacPorts software - see www.macports.org/install.php for installation guide - we check the installation with:
    Note: you have to confirm the sudo command with your password.
  5. Now we are installing the GCC 4.6 by entering:

    on the command line. After the operation is done you could check the version and it should look like this:

  6. You should also install flex and bison:


This section is divided into various sub-sections, detailing each step.


2.1 Create a disk image

First, we create a disk image with the Apple Disk Utility. Open /Applications/Utilities/Disk Utility. Click New Image:

It is important to set as Format: Mac OS Extended (Case-sensitive,Journaled). The sparse image will grow with the place used inside the image. Create a sparse image with the following settings (examples, you could change the values):

2.2 Get the OpenFOAM source code and patches

Go to the directory of the image by typing:

cd /Volumes/OpenFOAM-v2.1

Use a browser to download the archives of OpenFoam 2.1 and ThirdParty 2.1 from here and copy the archives into the image. Extract the archives by double clicking on each one.Then download the patches created by Bernhard Gschaider, available here and here (latest incarnation of the patch from 25th January 2013. The patches for special gcc-versions in the first link are still valid)

Copy or move them into the image. Your image content should look like this:

Move the appropriate patches into the directories, see below:

2.3 Apply patches and tweaks

Change into the Third-Party directory and apply the first patch via:

Change into the OpenFOAM directory and apply the patch via:

The end of the output should look like this:

Add executive rights to a python script like this:

Commands used in this picture:

It is now an executable script because of the permissions shown (x means executable):


Apply the second patch for the compiler, in this case we use the GCC 4.6 so choose the right patch by typing:

Open the file OpenFOAM-2.1.0/etc/bashrc with a text editor (e. g. Text Wrangler, pico or nano) and:

  1. Find this line:

    And change to this:

  2. Add these lines:

    A few notes about these two lines:

    • Apparently it's best that you manually write these two lines instead of copy-pasting, because apparently some weird characters will show up on your file (source).
    • The first entry is to increase the number of files which one process may open at a time;
    • The second entry you should set to the number of processes your CPU could manage in parallel, e.g. 4, 8, 16, ...
    • If you don't know how many your machine can handle, then run:
  3. Now go to the end of this file and add the following two lines:


The resulting OpenFOAM-2.1.0/etc/bashrc file should look similar to this:

Note: this only shows how the first 2 points look like. The 3rd point should be as simple as pasting the code in point 3 : at the end of this file.

2.4 Final preparations before building

Go back to your home directory by simply typing:

Then create a symbolic link with:

2.5 Source bashrc

Go back to your home directory again. Now you have to source the settings by running:

No error or other output should occur.


2.6 Building OpenFOAM

Now we go to the OpenFOAM directory and start compilation. Take a coffee. And a cookie. Or two:

If you also want to keep a log-file in case of errors, type:

If don't want to see what is happening during the build until it's completed, run:

When the command returns control to you, then run it a second time, which will generate a summary of what has been built successfully and what it is still trying to build due to a previous error.

When the control is returned back to you once again, everything should theoretically have built properly. Nonetheless, start reading the following section Diagnosing problems for more information on how to assess if everything is OK.

2.6.1 Diagnosing problems

You can check if there are any errors by opening the file make.log with a text editor and search for lines have the expression 'Error ' (including the space after the word 'Error').
Keep in mind that if your terminal is returning error messages in another language, then you should search for the respective word for 'Error'.

If you do find errors, the first one is usually the one to blame for all of the other errors.

Note: There have been several issues found by others on the forum. The latest summary list of suggested fixes are reported on post #285 at the thread 'OF 1.9 (aka OF 2.1) on Mac OS X'.

If you are still unable to figure out what's wrong, then:

  1. Edit the file make.log with a text editor, search and replace any sensitive information, such as user names and folder paths.
  2. Rename the log-file so that it is unique, preferably with data and user-name. For instance: make_20130401_bgschaid.log
  3. Pack the log file. For instance with GNU zip if it is only a single file:

    Only tarball it if there are additional files required to diagnose the probelm:

  4. Go to the chapter Got Questions? and post the file make_foo.gz in the mentioned forum thread, along with your question(s).

2.6.2 Used OpenMPI-version

There were problems reported with the compiling of the OpenMPI-verson in the ThirdParty-directory. It is recommended to either use the OpenMPI that comes with the Mac (which is a quite old version) or install the OpenMPI from MacPorts (which is usually the latest stable version) with

sudo port install openmpi

and then set

export WM_MPLIB=SYSTEMOPENMPI

either by editing etc/bashrc in the OpenFOAM-directory or in the file (create if necessary) ~/OpenFOAM/site/2.1.x/prefs.sh (use the appropriate version number)

Mac Os Catalina

2.6.3Permanent Installation

To make your OpenFOAM installation ready to be used on the next reboot, edit your personal ~/.bashrc file and add the following line to the end of the file (in a new line!):

Brokenfolx Mac Os Catalina

Then next time you start a new terminal, simply run:

That will make the OpenFOAM installation ready to be used.

Reference: OF 1.9 (aka OF 2.1) on Mac OS X - post #159

2.6.4 Multiple Versions

Mac

In case you want to have several OpenFOAM builds - such as having all versions 2.1.0, 2.1.1 and 2.1.x - then you can keep them all in the same disk image and have the following lines in your personal ~/.bashrc file:

Mac Os Download

Note: Part of these instructions were retrieved from here.

Follow these steps:

  1. Install ParaView from here.
  2. For example, the resulting installation will provide the paraview binary at:
  3. Create a symbolic link to ParaView into your OpenFOAM installation, by running this command (adjust accordingly to your ParaView version):

    Note: $WM_PROJECT_DIR is where OpenFOAM is installed.

  4. Edit the file ~/.alias (e. g. Text Wrangler, pico or nano); for example:
  5. And add the following lines:

    Notes:

    • parax can be used as a quick way for opening OpenFOAM case files, without the need for the OpenFOAM environment to be active or installed.
    • The alias paraFoam will run the real paraFoam script with the default option for using the internal OpenFOAM reader that ParaView has got.
  6. Either start a new terminal or source the file by running:
  7. Whenever you need to run paraFoam, you can run either one of the following commands (as explained above):

Brokenfolx Mac Os Catalina

If you've got questions about this installation process, go to the thread OF 1.9 (aka OF 2.1) on Mac OS X, read it from beginning to end and if you still have a question, ask it on that thread!

Retrieved from 'https://openfoamwiki.net/index.php?title=Installation/Mac_OS/OpenFOAM_2.1.x&oldid=17893'

BrokenFolx Mac OS

Leave a Reply

Cancel reply