# NPSOL is not available in this build

2 posts / 0 new
Offline
Joined: 03/27/2022 - 23:26
NPSOL is not available in this build

I experienced the below error message when I am running the ACE model:
==========================================================
Running oneSATc with 10 parameters
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NPSOL is not available in this build. See ?omxGetNPSOL() to download this optimizer
==========================================================
This is the version of my MacOS and OpenMX:

OpenMx version: 2.20.6 [GIT v2.20.6-dirty]
R version: R version 4.1.3 (2022-03-10)
Platform: aarch64-apple-darwin20
MacOS: 11.4
Default optimizer: NPSOL
NPSOL-enabled?: No
OpenMP-enabled?: No

I tried to open NPSOP by using below

> install.OpenMx("NPSOL") # gets the NPSOL version explicitly

however I kept getting a warning popup message with asking me to restart R, I pressed Yes however the same message popup again. I tried to clean the workspace and restarted (also clear R's workspace and restart R after the getOpenMx.R script finished), but the same error popup message still exists.

Any thought how I can resolve this?

Offline
Joined: 01/24/2014 - 12:15
First, are you running R in a

First, are you running R in a terminal, as R.app, in RStudio, or what? If you're using RStudio, you could try completely exiting RStudio after the NPSOL-enabled build installs. You would then restart RStudio.

Second, you could try following the instructions in our Download page, instead of using umx::install.OpenMx().