24.1.21

QWWAD 1.5.2 MAC install tips

 When you install QWWAD 1.5.2 quantum simulator to your mac, you will face two hurdles.


0. Install correct software.

- Let's say you want to install gfortran, in this case, you need to check your process, do not install 11 versions for the APM process if your mac using the intel process.

1. You need to change configure file.

- Open your configure file to a coding editor like vscode.

- Find the line: LDFLAGS="-Wl,—as-needed $LDFLAGS" (probably 9493 line)

- Replace this line to: LDFLAGS="$LDFLAGS"

- save

2. Install correct version armadillo package.

If you install your armadillo by brew. Probably brew installed 10.2 version. But unfortunately, the armadillo version 10 doesn't support 'char' input anymore.

So, you need to install armadillo 9 version.


Good luck.