Hi
if you are in the global domain, on the boundary node K (K is between 1 and NPTFR, nbor(K) gives you the node number in the global numbering (between 1 and NPOIN).
If you divide your domain in some sub-domains, each subdomain will have it's own boundary node K (between 1 and the total number of boundary node of the subdomain - something like NPTFR'(i)). Then in each subdomain NBOR(K) gives you the node number in the global numbering of the subdomain. This is like a local numbering in the subdomain.
If you use KNOLG(NBOR(K))in a subdomain, then you will have the node number in the global numbering of the full domain.
Take care because KNOLG only exist if parallelism is activated. In scalar mode, this vector doesn't exist. That's why you should have some conditional treatment linked to ncsize.
Hope this helps you to adapt your program and allow you to run your model in parallel.