Configure Failed in Abinit 9.6.2

I’m following the link here ( Tutorial on the use of Wannier90 library - abinit ) to reconfigure my abinit 9.6.2. However, when I run configure command with myconf.ac9, I got the configure error (see below). My gcc version is 10.3.0…anyone can shed some light what I miss here?

configure:12120: mpicc --version >&5
/home/mlin/anaconda3/bin/mpicc: line 285: x86_64-conda_cos6-linux-gnu-cc: command not found
configure:12131: ? = 127 configure:12120: mpicc -v >&5 mpicc for MPICH version 3.3.2 /home/mlin/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found configure:12131: ? = 127
configure:12120: mpicc -V >&5
/home/mlin/anaconda3/bin/mpicc: line 285: x86_64-conda_cos6-linux-gnu-cc: command not found
configure:12131: ? = 127 configure:12120: mpicc -qversion >&5 /home/mlin/anaconda3/bin/mpicc: line 285: x86_64-conda_cos6-linux-gnu-cc: command not found configure:12131: ? = 127
configure:12151: checking whether the C compiler works
configure:12173: mpicc conftest.c >&5
/home/mlin/anaconda3/bin/mpicc: line 285: x86_64-conda_cos6-linux-gnu-cc: command not found
configure:12177: $? = 127
configure:12215: result: no

Hello,

Can you show us your myconf.ac9 file and the config.log file generated while configuring?

Thank you. I’m following step by step to create the ac9 file: Tutorial on the use of Wannier90 library - abinit

The config.log is very short and the error part is listed as follows:
configure:12120: mpicc --version >&5
/home/mlin/anaconda3/bin/mpicc: line 285: x86_64-conda_cos6-linux-gnu-cc: command not found
configure:12131:
Misplaced &
? = 127
configure:12120: mpicc -V >&5
/home/mlin/anaconda3/bin/mpicc: line 285: x86_64-conda_cos6-linux-gnu-cc: command not found
configure:12131:
Misplaced &
? = 127
configure:12151: checking whether the C compiler works
configure:12173: mpicc conftest.c >&5
/home/mlin/anaconda3/bin/mpicc: line 285: x86_64-conda_cos6-linux-gnu-cc: command not found
configure:12177: $? = 127
configure:12215: result: no

This might be a problem with your conda. Can you tried installing gcc using conda install gcc_linux-64 make?

By the way, were you able to resolve this problem? What was your solution?