Erro compiling IOAPI 3.2 with PGI compiler

Hello,
I was trying to install ioapi-3.2 through PGI compiler, Here’s the command:
sudo apt-get install libnetcdf-dev
cd /home/qiu/Document/Netcdf_ku
git clone GitHub - cjcoats/ioapi-3.2: I/O API Version 3.2: new, beta
mkdir ioapi-3.2/Linux2_x86_64pg_pgcc_nomp
vim ~/.bashrc
export BIN=Linux2_x86_64pg_pgcc_nomp
source ~/.bashrc
cd ioapi-3.2
cp Makefile.template Makefile
vim Makefile
BIN = Linux2_x86_64pg_pgcc_nomp
BASEDIR= /home/qiu/Document/Netcdf_ku/ioapi-3.2
INSTALL= /home/qiu/Document/Netcdf_ku/ioapi
LIBINST=(INSTALL)/(BIN)??
BININST=(INSTALL)/(BIN)??
CPLMODE=nocpl
IOAPIDEFS=
PVMINCL=
NCFLIBS=-lnetcdff -lnetcdf
cd ioapi
vim Makefile.nocpl
BASEDIR = /home/qiu/Document/Netcdf_ku/ioapi-3.2
cd …
cp ./ioapi/Makefile.nocpl ./ioapi/Makefile
cd /home/qiu/Document/Netcdf_ku/ioapi-3.2/ioapi
vim Makeinclude.Linux2_x86_64pg_pgcc_nomp
COPTFLAGS = -O2 -tp=tigerlake
FOPTFLAGS = -O2 -tp=tigerlake -V -Mnosecond_underscore
add -DIOAPI_NCF4=1 to the ARCHFLAGS
cd /home/qiu/Document/Netcdf_ku/ioapi-3.2/m3tools
vim Makefile.nocpl
BASEDIR = /home/qiu/Document/Netcdf_ku/ioapi-3.2
FFLAGS = -I$(IODIR) -DIOAPICPL (ARCHFLAGS) (PARFLAGS) (FOPTFLAGS) (ARCHFLAGS) -I/home/qiu/Document/Netcdf_ku/netcdf-c/include
LDFLAGS = -I$(IODIR) -DIOAPICPL (DEFINEFLAGS) (ARCHFLAGS) -I/home/qiu/Document/Netcdf_ku/netcdf-c/include
LIBS = -L${OBJDIR} -lioapi -L/home/qiu/Document/Netcdf_ku/netcdf-c/lib -lnetcdff -lnetcdf (OMPLIBS) (ARCHLIB) $(ARCHLIBS)
cd …
cp ./m3tools/Makefile.nocpl ./m3tools/Makefile
cp /home/qiu/Document/Netcdf_ku/netcdf-c/lib/libnetcdf.a $BIN
cp /home/qiu/Document/Netcdf_ku/netcdf-fortran/lib/libnetcdff.a $BIN
make BIN=Linux2_x86_64pg_pgcc_nomp

Then I got an error:
collect2: error: ld returned 1 exit status make[1]: *** [Makefile:252:airs2m3] Error 1 make[1]: Leaving directory “/home/qiu/Document/Netcdf_ku/ioapi-3.2/m3tools” make: *** [Makefile:205:all] Error 2

I also tried to compile netcdf by --disable-netcdf4, --disable-netcdf-dap:
cd netcdf-c-4.9.2
CPPFLAGS=“-I/home/qiu/Document/Netcdf_ku/hdf5/include -I/home/qiu/Document/Netcdf_ku/zlib/include” \ LDFLAGS=“-L/home/qiu/Document/Netcdf_ku/hdf5/lib -L/home/qiu/Document/Netcdf_ku/zlib/lib” \ LD_LIBRARY_PATH=/home/qiu/Document/Netcdf_ku/hdf5/lib:/home/qiu/Document/Netcdf_ku/zlib/lib \ CC=pgcc ./configure --prefix=/home/qiu/Document/Netcdf_ku/netcdf-c --enable-netcdf4 --with-hdf5=/home/qiu/Document/Netcdf_ku/hdf5 --with-zlib=/home/qiu/Document/Netcdf_ku/zlib --disable-netcdf4 --disable-dap
make
make install
cd …
wget https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.6.1.tar.gz
tar -xvzf v4.6.1.tar.gz
cd netcdf-fortran-4.6.1
CPPFLAGS=“-I/home/qiu/Document/Netcdf_ku/netcdf-c/include”
LDFLAGS=“-L/home/qiu/Document/Netcdf_ku/netcdf-c/lib”
LD_LIBRARY_PATH=/home/qiu/Document/Netcdf_ku/netcdf-c/lib:$LD_LIBRARY_PATH
FC=pgfortran CC=pgcc ./configure --prefix=/home/qiu/Document/Netcdf_ku/netcdf-fortran
make

I get another error:
make[1]: *** [Makefile:766:module_netcdf_nf_data.lo] Error 1
make[1]: Leaving directory“/home/qiu/Document/Netcdf_ku/netcdf-fortran-4.6.1/fortran”
make: *** [Makefile:588:all-recursive] Error 2

Could you suggest me how to resolve this error?
Thanks very much,
Best,
Autumn